forked from vapor/jwt-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
32 lines (31 loc) · 1.01 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.6
import PackageDescription
let package = Package(
name: "jwt-kit",
platforms: [
.macOS(.v10_15),
.iOS(.v13),
.tvOS(.v13),
.watchOS(.v6)
],
products: [
.library(name: "JWTKit", targets: ["JWTKit"]),
/* This target is used only for symbol mangling. It's added and removed automatically because it emits build warnings. MANGLE_START
.library(name: "CJWTKitBoringSSL", type: .static, targets: ["CJWTKitBoringSSL"]),
MANGLE_END */
],
dependencies: [
.package(url: "https://github.com/apple/swift-crypto.git", "2.0.0" ..< "4.0.0")
],
targets: [
.target(name: "CJWTKitBoringSSL"),
.target(name: "JWTKit", dependencies: [
.target(name: "CJWTKitBoringSSL"),
.product(name: "Crypto", package: "swift-crypto"),
]),
.testTarget(name: "JWTKitTests", dependencies: [
.target(name: "JWTKit"),
]),
],
cxxLanguageStandard: .cxx11
)