Skip to content

Commit

Permalink
replace CryptoKit with Crypto
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandersandberg committed Apr 8, 2024
1 parent 17a189a commit bf6fcea
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
"version" : "0.6.0"
}
},
{
"identity" : "swift-crypto",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-crypto.git",
"state" : {
"revision" : "f0525da24dc3c6cbb2b6b338b65042bc91cbc4bb",
"version" : "3.3.0"
}
},
{
"identity" : "swift-html",
"kind" : "remoteSourceControl",
Expand Down
2 changes: 2 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ let package = Package(
.macOS(.v14)
],
dependencies: [
.package(url: "https://github.com/apple/swift-crypto.git", from: "3.3.0"),
.package(url: "https://github.com/binarybirds/swift-html", from: "1.7.0"),
.package(url: "https://github.com/johnsundell/ink", from: "0.6.0")
],
targets: [
.executableTarget(
name: "alexandersandberg.com",
dependencies: [
.product(name: "Crypto", package: "swift-crypto"),
.product(name: "SwiftHtml", package: "swift-html"),
.product(name: "SwiftRss", package: "swift-html"),
.product(name: "Ink", package: "ink")
Expand Down
2 changes: 1 addition & 1 deletion Sources/Utils/String+Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import Foundation
import CryptoKit
import Crypto

extension String: LocalizedError {
public var errorDescription: String? { return self }
Expand Down

0 comments on commit bf6fcea

Please sign in to comment.