forked from orlandos-nl/MongoKitten
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
29 lines (24 loc) · 1 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
import PackageDescription
var package = Package(
name: "MongoKitten",
targets: [
Target(name: "GeoJSON"),
Target(name: "MongoSocket"),
Target(name: "ExtendedJSON"),
Target(name: "MongoKitten", dependencies: ["GeoJSON", "MongoSocket", "ExtendedJSON"])
],
dependencies: [
// For MongoDB Documents
.Package(url: "https://github.com/OpenKitten/BSON.git", versions: Version(5, 2, 0) ..< Version(6, 0, 0)),
// For ExtendedJSON support
.Package(url: "https://github.com/OpenKitten/Cheetah.git", majorVersion: 2),
// Authentication
.Package(url: "https://github.com/OpenKitten/CryptoKitten.git", majorVersion: 0, minor: 2),
// Asynchronous behaviour
.Package(url: "https://github.com/OpenKitten/Schrodinger.git", majorVersion: 1),
]
)
// Provides Sockets + SSL
#if !os(macOS) && !os(iOS)
package.dependencies.append(.Package(url: "https://github.com/OpenKitten/KittenCTLS.git", majorVersion: 1))
#endif