Skip to content

Commit

Permalink
Merge pull request #15 from vapor/swift-crypto-dependency
Browse files Browse the repository at this point in the history
Add Swift Crypto as a dependency
  • Loading branch information
tanner0101 authored Feb 28, 2020
2 parents 57c49ff + 91e01d8 commit ca72fe5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,20 @@ import PackageDescription
let package = Package(
name: "jwt-kit",
platforms: [
.macOS(.v10_14)
.macOS(.v10_15)
],
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: [ ],
dependencies: [
.package(url: "https://github.com/apple/swift-crypto.git", from: "1.0.0")
],
targets: [
.target(name: "CJWTKitBoringSSL"),
.target(name: "JWTKit", dependencies: ["CJWTKitBoringSSL"]),
.target(name: "JWTKit", dependencies: ["CJWTKitBoringSSL", "Crypto"]),
.testTarget(name: "JWTKitTests", dependencies: ["JWTKit"]),
]
)

0 comments on commit ca72fe5

Please sign in to comment.