You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
500 B
Swift
23 lines
500 B
Swift
2 years ago
|
// swift-tools-version:5.5.0
|
||
|
import PackageDescription
|
||
|
let package = Package(
|
||
|
name: "CozoSwiftBridge",
|
||
|
products: [
|
||
|
.library(
|
||
|
name: "CozoSwiftBridge",
|
||
|
targets: ["CozoSwiftBridge"]),
|
||
|
],
|
||
|
dependencies: [
|
||
|
.package(url: "https://github.com/SwiftyJSON/SwiftyJSON.git", from: "4.0.0"),
|
||
|
],
|
||
|
targets: [
|
||
|
.binaryTarget(
|
||
|
name: "RustXcframework",
|
||
|
path: "RustXcframework.xcframework"
|
||
|
),
|
||
|
.target(
|
||
|
name: "CozoSwiftBridge",
|
||
|
dependencies: ["RustXcframework", "SwiftyJSON"])
|
||
|
]
|
||
|
)
|
||
|
|