-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
47 lines (41 loc) · 1.16 KB
/
Copy pathPackage.swift
File metadata and controls
47 lines (41 loc) · 1.16 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
43
44
45
46
47
// swift-tools-version: 6.2
// swiftlint:disable explicit_acl explicit_top_level_acl
import PackageDescription
// MARK: - Swift Settings Configuration
let swiftSettings: [SwiftSetting] = [
// Swift 6.2 Upcoming Features (not yet enabled by default)
// SE-0335: Introduce existential `any`
.enableUpcomingFeature("ExistentialAny"),
// SE-0409: Access-level modifiers on import declarations
.enableUpcomingFeature("InternalImportsByDefault"),
// SE-0444: Member import visibility (Swift 6.1+)
.enableUpcomingFeature("MemberImportVisibility"),
// SE-0413: Typed throws
.enableUpcomingFeature("FullTypedThrows"),
]
let package = Package(
name: "ConfigKeyKit",
platforms: [
.macOS(.v15),
.iOS(.v18),
.tvOS(.v18),
.watchOS(.v11),
.visionOS(.v2),
],
products: [
.library(name: "ConfigKeyKit", targets: ["ConfigKeyKit"]),
],
targets: [
.target(
name: "ConfigKeyKit",
dependencies: [],
swiftSettings: swiftSettings
),
.testTarget(
name: "ConfigKeyKitTests",
dependencies: ["ConfigKeyKit"],
swiftSettings: swiftSettings
),
]
)
// swiftlint:enable explicit_acl explicit_top_level_acl