-
-
Notifications
You must be signed in to change notification settings - Fork 54
/
Package.swift
37 lines (36 loc) · 1.07 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
33
34
35
36
37
// swift-tools-version:6.0
import PackageDescription
let package = Package(
name: "jwt-kit",
platforms: [
.macOS(.v13),
.iOS(.v15),
.tvOS(.v15),
.watchOS(.v8),
],
products: [
.library(name: "JWTKit", targets: ["JWTKit"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-crypto.git", "3.8.0"..<"5.0.0"),
.package(url: "https://github.com/apple/swift-certificates.git", from: "1.2.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
],
targets: [
.target(
name: "JWTKit",
dependencies: [
.product(name: "Crypto", package: "swift-crypto"),
.product(name: "_CryptoExtras", package: "swift-crypto"),
.product(name: "X509", package: "swift-certificates"),
.product(name: "Logging", package: "swift-log"),
]
),
.testTarget(
name: "JWTKitTests",
dependencies: [
"JWTKit"
]
),
]
)