-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
61 lines (59 loc) · 1.8 KB
/
Package.swift
File metadata and controls
61 lines (59 loc) · 1.8 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
// swift-tools-version: 6.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "sqlite-vec-data",
platforms: [.iOS(.v16), .macOS(.v13), .tvOS(.v16), .watchOS(.v9)],
products: [
.library(name: "SQLiteVecData", targets: ["SQLiteVecData"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
.package(url: "https://github.com/pointfreeco/swift-tagged", from: "0.10.0"),
.package(
url: "https://github.com/pointfreeco/sqlite-data",
from: "1.3.0",
traits: ["SQLiteDataTagged"]
),
.package(
url: "https://github.com/pointfreeco/swift-structured-queries",
from: "0.25.1",
traits: ["StructuredQueriesTagged"]
),
.package(url: "https://github.com/pointfreeco/xctest-dynamic-overlay", from: "1.4.3")
],
targets: [
.target(
name: "CSQLiteVec",
cSettings: [
.define(
"SQLITE_VEC_ENABLE_NEON",
to: "1",
.when(platforms: [.iOS, .macOS, .tvOS, .watchOS, .visionOS])
)
]
),
.target(
name: "StructuredQueriesSQLiteVecCore",
dependencies: [
.product(name: "StructuredQueriesSQLiteCore", package: "swift-structured-queries")
]
),
.target(
name: "SQLiteVecData",
dependencies: [
"CSQLiteVec",
"StructuredQueriesSQLiteVecCore",
.product(name: "SQLiteData", package: "sqlite-data")
]
),
.testTarget(
name: "SQLiteVecDataTests",
dependencies: [
"SQLiteVecData",
.product(name: "StructuredQueriesTestSupport", package: "swift-structured-queries"),
.product(name: "IssueReportingTestSupport", package: "xctest-dynamic-overlay")
]
)
]
)