-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathPackage.swift
32 lines (31 loc) · 1.24 KB
/
Package.swift
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
// swift-tools-version:5.2
import PackageDescription
let package = Package(
name: "swift-bson",
platforms: [
.macOS(.v10_14),
.iOS(.v13)
],
products: [
.library(name: "SwiftBSON", targets: ["SwiftBSON"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio", .upToNextMajor(from: "2.32.0")),
.package(url: "https://github.com/swift-extras/swift-extras-json", .upToNextMinor(from: "0.6.0")),
.package(url: "https://github.com/swift-extras/swift-extras-base64", .upToNextMinor(from: "0.5.0")),
.package(url: "https://github.com/Quick/Nimble", .upToNextMajor(from: "8.0.0"))
],
targets: [
.target(name: "SwiftBSON", dependencies: [
.product(name: "NIOCore", package: "swift-nio"),
.product(name: "NIOConcurrencyHelpers", package: "swift-nio"),
.product(name: "ExtrasJSON", package: "swift-extras-json"),
.product(name: "ExtrasBase64", package: "swift-extras-base64")
]),
.testTarget(name: "SwiftBSONTests", dependencies: [
"SwiftBSON",
.product(name: "Nimble", package: "Nimble"),
.product(name: "ExtrasJSON", package: "swift-extras-json")
])
]
)