Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate the crypto library to Swift Crypto #2166

Merged
merged 1 commit into from
Feb 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PackageDescription
let package = Package(
name: "vapor",
platforms: [
.macOS(.v10_14)
.macOS(.v10_15)
],
products: [
.library(name: "Vapor", targets: ["Vapor"]),
Expand All @@ -24,7 +24,7 @@ let package = Package(
.package(url: "https://github.com/vapor/multipart-kit.git", from: "4.0.0-beta.2"),

// 馃攽 Hashing (BCrypt, SHA2, HMAC), encryption (AES), public-key (RSA), and random data generation.
.package(url: "https://github.com/vapor/open-crypto.git", from: "4.0.0-beta.2"),
.package(url: "https://github.com/apple/swift-crypto.git", from: "1.0.0"),

// 馃殟 High-performance trie-node router.
.package(url: "https://github.com/vapor/routing-kit.git", from: "4.0.0-beta.3"),
Expand Down Expand Up @@ -79,7 +79,7 @@ let package = Package(
"NIOHTTP2",
"NIOSSL",
"NIOWebSocket",
"OpenCrypto",
"Crypto",
"RoutingKit",
"WebSocketKit",
]),
Expand Down
2 changes: 1 addition & 1 deletion Sources/Vapor/Exports.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@_exported import class AsyncHTTPClient.HTTPClient
@_exported import enum Backtrace.Backtrace

@_exported import OpenCrypto
@_exported import Crypto
@_exported import RoutingKit
@_exported import ConsoleKit
@_exported import Foundation
Expand Down