forked from vapor/open-crypto
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
24 lines (22 loc) · 999 Bytes
/
Package.swift
File metadata and controls
24 lines (22 loc) · 999 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "Crypto",
products: [
.library(name: "Crypto", targets: ["Crypto"]),
.library(name: "Random", targets: ["Random"]),
],
dependencies: [
// 🌎 Utility package containing tools for byte manipulation, Codable, OS APIs, and debugging.
.package(url: "https://github.com/vapor/core.git", from: "3.0.0"),
/// Bindings to OpenSSL-compatible libraries for TLS support in SwiftNIO
.package(url: "https://github.com/apple/swift-nio-ssl.git", from: "1.0.0"),
],
targets: [
.target(name: "Crypto", dependencies: ["Async", "Bits", "Core", "COperatingSystem", "Debugging", "libbcrypt", "NIOOpenSSL", "Random"]),
.testTarget(name: "CryptoTests", dependencies: ["Crypto"]),
.target(name: "libbcrypt"),
.target(name: "Random", dependencies: ["Bits"]),
.testTarget(name: "RandomTests", dependencies: ["Random"]),
]
)