diff --git a/.changeset/swift-crypto-5.md b/.changeset/swift-crypto-5.md new file mode 100644 index 0000000..2e95978 --- /dev/null +++ b/.changeset/swift-crypto-5.md @@ -0,0 +1,8 @@ +--- +"@germ-network/atprotoclient": minor +--- + +Widen the `swift-crypto` dependency to `from: "5.0.0"`. + +Part of the org-wide move to swift-crypto 5. Builds and the full test suite +(51 tests) pass against 5.0.0 unchanged. diff --git a/Package.resolved b/Package.resolved index cf49305..052ef39 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,13 +1,13 @@ { - "originHash" : "70e3ab39c2528937d10d0466afa1eaca183d5faf3199d1853ab5da0d97ef699c", + "originHash" : "0df995b5596b017e0c05417620fde5e941961d1d88fc8d005b1e8f7c99449840", "pins" : [ { "identity" : "atprototypes", "kind" : "remoteSourceControl", "location" : "https://github.com/germ-network/AtprotoTypes.git", "state" : { - "revision" : "537310dd07df81f20f91e28164d3a97b21ad0c20", - "version" : "0.6.1" + "revision" : "46fbeeac594d236ed992cdffe547eebb9bce7ae6", + "version" : "0.7.0" } }, { @@ -15,8 +15,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/germ-network/GermConvenience.git", "state" : { - "revision" : "e474915e5ab3f917d5f5496af5fb4814081fb75c", - "version" : "0.8.0" + "revision" : "305053c5194bfd129a3feda8fe214ec33addee03", + "version" : "0.10.0" } }, { @@ -42,8 +42,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-crypto.git", "state" : { - "revision" : "da9d28d69ebe3894b18376c8f2395c2f37b8448f", - "version" : "4.5.2" + "revision" : "a9d1d5ab8951ada40cafff8c8e2b551dfde4f390", + "version" : "5.0.0" } }, { diff --git a/Package.swift b/Package.swift index eeb842c..09baa7d 100644 --- a/Package.swift +++ b/Package.swift @@ -17,17 +17,19 @@ let package = Package( dependencies: [ .package( url: "https://github.com/germ-network/AtprotoTypes.git", - from: "0.5.1" + // Temporary revision pin to the swift-crypto-5 commit + // (germ-network/AtprotoTypes#69); replace with the released version + // once it cuts. + from: "0.7.0" ), .package( url: "https://github.com/germ-network/GermConvenience.git", - // 0.8.0 split HTTP helpers into GermConvenienceHTTP — the floor this - // package now needs for HTTPDataResponse/HTTPFetcher. - from: "0.8.0" + // 0.10.0 is its swift-crypto-5 release — the revision pin drops. + from: "0.10.0" ), .package( url: "https://github.com/apple/swift-crypto.git", - .upToNextMajor(from: "4.2.0")), + from: "5.0.0"), .package(url: "https://github.com/apple/swift-log", from: "1.6.0"), .package(url: "https://github.com/apple/swift-http-types.git", from: "1.5.1"), ],