Skip to content

Commit

Permalink
Reduced Vapor dependency to HTTP package only.
Browse files Browse the repository at this point in the history
  • Loading branch information
timburks committed Jan 29, 2019
1 parent c05c7bc commit b9d4a55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ let package = Package(
.library(name: "OAuth2", targets: ["OAuth2"]),
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", from: "3.1.1"),
.package(url: "https://github.com/vapor/http.git", from: "3.1.7"),
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", from: "0.8.0"),
.package(url: "https://github.com/attaswift/BigInt", from: "3.0.0"),
.package(url: "https://github.com/timburks/SwiftyBase64", from: "1.2.0"),
],
targets: [
.target(name: "OAuth1",
dependencies: ["CryptoSwift", "Vapor"]),
dependencies: ["CryptoSwift", "HTTP"]),
.target(name: "OAuth2",
dependencies: ["CryptoSwift", "Vapor", "BigInt", "SwiftyBase64"]),
dependencies: ["CryptoSwift", "HTTP", "BigInt", "SwiftyBase64"]),
.target(name: "TokenSource", dependencies: ["OAuth2"], path: "Sources/Examples/TokenSource"),
.target(name: "Google", dependencies: ["OAuth2"], path: "Sources/Examples/Google"),
.target(name: "GitHub", dependencies: ["OAuth2"], path: "Sources/Examples/GitHub"),
Expand Down

0 comments on commit b9d4a55

Please sign in to comment.