-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
62 lines (61 loc) · 2.87 KB
/
Package.swift
File metadata and controls
62 lines (61 loc) · 2.87 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// swift-tools-version:6.2
import PackageDescription
let package = Package(
name: "VectorDataStore",
platforms: [
.macOS(.v14),
.iOS(.v17),
.watchOS(.v9),
.tvOS(.v15)
],
products: [
.library(name: "VectorDataStore", targets: ["VectorDataStore"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-log.git", from: "1.6.4"),
.package(url: "https://github.com/apple/swift-nio.git", from: "2.86.0"),
.package(url: "https://github.com/apple/swift-nio-ssl.git", from: "2.27.0"),
.package(url: "https://github.com/apple/swift-nio-transport-services.git", from: "1.23.0"),
.package(url: "https://github.com/apple/swift-crypto.git", from: "3.0.0"),
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.6.1"),
.package(url: "https://github.com/stephencelis/SQLite.swift.git", from: "0.15.4"),
.package(url: "https://github.com/apple/swift-syntax.git", from: "509.0.0"),
.package(url: "https://github.com/vapor/vapor.git", from: "4.89.0"),
.package(url: "https://github.com/outblock/flow-swift.git", from: "0.4.0"),
.package(url: "https://github.com/apple/swift-corelibs-coreml.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-corelibs-foundationnetworking.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-corelibs-testing.git", from: "1.0.0")
],
targets: [
.target(
name: "VectorDataStore",
dependencies: [
.product(name: "Logging", package: "swift-log"),
.product(name: "NIO", package: "swift-nio"),
.product(name: "NIOHTTP1", package: "swift-nio"),
.product(name: "Crypto", package: "swift-crypto"),
.product(name: "Vapor", package: "vapor"),
.product(name: "Flow", package: "flow-swift"),
.product(name: "CoreML", package: "swift-corelibs-coreml"),
.product(name: "FoundationNetworking", package: "swift-corelibs-foundationnetworking"),
.product(name: "SwiftTesting", package: "swift-corelibs-testing.git")
],
path: "Sources/VectorDataStore",
swiftSettings: [
.enableExperimentalFeature("StrictConcurrency"),
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("InferSendableFromCaptures")
]
),
.target(name: "SwiftDataStyleStore",
dependencies: ["VectorDataStore"],
path: "Sources/SwiftDataStyleStore",
swiftSettings: [.define("CAN_IMPORT_SWIFT_DATA")],
exclude: ["**/*.swift"]),
.testTarget(
name: "AppTest",
dependencies: ["VectorDataStore"],
path: "Tests/AppTest"
)
]
)