Skip to content

Commit 3570357

Browse files
Drop support for Swift 5.8 (#259)
1 parent a24950b commit 3570357

File tree

6 files changed

+3
-35
lines changed

6 files changed

+3
-35
lines changed

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.8
1+
// swift-tools-version:5.9
22
//===----------------------------------------------------------------------===//
33
//
44
// This source file is part of the SwiftCrypto open source project

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ Swift Crypto | Minimum Swift Version
117117
`2.2.0 ..< 2.4.2` | 5.5
118118
`2.4.2 ..< 3.1.0` | 5.6
119119
`3.1.0 ..< 3.3.0` | 5.7
120-
`3.3.0 ...` | 5.8
120+
`3.3.0 ..< 3.8.0` | 5.8
121+
`3.8.0 ...` | 5.9
121122

122123
### Compatibility
123124

Sources/_CryptoExtras/AES/AES_GCM_SIV.swift

-4
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ import Crypto
1616
@_implementationOnly import CCryptoBoringSSL
1717
@_implementationOnly import CCryptoBoringSSLShims
1818
@_implementationOnly import CryptoBoringWrapper
19-
#if canImport(Darwin) || swift(>=5.9.1)
2019
import Foundation
21-
#else
22-
@preconcurrency import Foundation
23-
#endif
2420

2521
/// Types associated with the AES GCM SIV algorithm
2622
extension AES.GCM {

Sources/_CryptoExtras/ChaCha20CTR/ChaCha20CTR.swift

-4
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@
1616
@_implementationOnly import CCryptoBoringSSLShims
1717
import Crypto
1818
@_implementationOnly import CryptoBoringWrapper
19-
#if canImport(Darwin) || swift(>=5.9.1)
2019
import Foundation
21-
#else
22-
@preconcurrency import Foundation
23-
#endif
2420

2521
typealias ChaCha20CTRImpl = OpenSSLChaCha20CTRImpl
2622

Sources/_CryptoExtras/RSA/RSA.swift

-4
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,8 @@ fileprivate typealias BackingPrivateKey = BoringSSLRSAPrivateKey
3131
///
3232
/// When rolling out new cryptosystems, users should avoid RSA and use ECDSA or edDSA instead. RSA
3333
/// support is provided for interoperability with legacy systems.
34-
#if swift(>=5.8)
3534
@_documentation(visibility: public)
3635
public enum _RSA { }
37-
#else
38-
public enum _RSA { }
39-
#endif
4036

4137
extension _RSA {
4238
public enum Signing { }

docker/docker-compose.2204.58.yaml

-21
This file was deleted.

0 commit comments

Comments
 (0)