Skip to content

Commit

Permalink
Setup for Vapor 4 release candidate
Browse files Browse the repository at this point in the history
Update jwt-kit version to 4.0.0-rc
Frustratingly this forces us to move up to Swift 5.2
  • Loading branch information
adam-fowler committed Mar 11, 2020
1 parent 857751f commit 626331d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.1
// swift-tools-version:5.2
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -13,19 +13,19 @@ let package = Package(
.package(url: "https://github.com/apple/swift-crypto.git", .upToNextMajor(from: "1.0.0")),
.package(url: "https://github.com/swift-server/async-http-client.git", .upToNextMajor(from: "1.0.0")),
.package(url: "https://github.com/swift-aws/aws-sdk-swift.git", .upToNextMajor(from: "4.0.0")),
.package(url: "https://github.com/vapor/jwt-kit.git", .upToNextMajor(from: "4.0.0-beta.2.1")),
.package(url: "https://github.com/vapor/jwt-kit.git", .upToNextMajor(from: "4.0.0-rc")),
// for SRP
.package(url: "https://github.com/adam-fowler/big-num.git", .upToNextMajor(from: "1.1.0")),
],
targets: [
.target(name: "AWSCognitoAuthenticationKit",
dependencies: [
"AsyncHTTPClient",
"BigNum",
"CognitoIdentity",
"CognitoIdentityProvider",
"JWTKit",
"Crypto"
.product(name: "AsyncHTTPClient", package: "async-http-client"),
.product(name: "BigNum", package: "big-num"),
.product(name: "CognitoIdentity", package: "aws-sdk-swift"),
.product(name: "CognitoIdentityProvider", package: "aws-sdk-swift"),
.product(name: "JWTKit", package: "jwt-kit"),
.product(name: "Crypto", package: "swift-crypto")
]
),
.testTarget(name: "AWSCognitoAuthenticationKitTests", dependencies: ["AWSCognitoAuthenticationKit"]),
Expand Down

0 comments on commit 626331d

Please sign in to comment.