-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
42 lines (38 loc) · 1.13 KB
/
Package.swift
File metadata and controls
42 lines (38 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// swift-tools-version: 6.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let upcomingSwiftSettings: [SwiftSetting] = [
.enableUpcomingFeature("StrictConcurrency"),
.enableUpcomingFeature("ExistentialAny"),
// Optional, only if you use it:
// .enableUpcomingFeature("ImplicitOpenExistentials"),
]
let package = Package(
name: "SmartAsyncImage",
platforms: [
.iOS(.v17)
],
products: [
.library(
name: "SmartAsyncImage",
targets: ["SmartAsyncImage"]
),
],
targets: [
.target(
name: "SmartAsyncImage",
swiftSettings: upcomingSwiftSettings
),
.testTarget(
name: "SmartAsyncImageTests",
dependencies: ["SmartAsyncImage"],
swiftSettings: upcomingSwiftSettings
),
]
// Key point:
// If you want "upcoming features" (incremental Swift 6 hardening),
// do NOT pin full Swift 6 language mode here.
// Remove swiftLanguageModes entirely.
//
// , swiftLanguageModes: [.v6]
)