Skip to content

Commit

Permalink
Drop support for Swift 5.8 (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjbeaumont authored Sep 19, 2024
1 parent a24950b commit 3570357
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 35 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.8
// swift-tools-version:5.9
//===----------------------------------------------------------------------===//
//
// This source file is part of the SwiftCrypto open source project
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ Swift Crypto | Minimum Swift Version
`2.2.0 ..< 2.4.2` | 5.5
`2.4.2 ..< 3.1.0` | 5.6
`3.1.0 ..< 3.3.0` | 5.7
`3.3.0 ...` | 5.8
`3.3.0 ..< 3.8.0` | 5.8
`3.8.0 ...` | 5.9

### Compatibility

Expand Down
4 changes: 0 additions & 4 deletions Sources/_CryptoExtras/AES/AES_GCM_SIV.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ import Crypto
@_implementationOnly import CCryptoBoringSSL
@_implementationOnly import CCryptoBoringSSLShims
@_implementationOnly import CryptoBoringWrapper
#if canImport(Darwin) || swift(>=5.9.1)
import Foundation
#else
@preconcurrency import Foundation
#endif

/// Types associated with the AES GCM SIV algorithm
extension AES.GCM {
Expand Down
4 changes: 0 additions & 4 deletions Sources/_CryptoExtras/ChaCha20CTR/ChaCha20CTR.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@
@_implementationOnly import CCryptoBoringSSLShims
import Crypto
@_implementationOnly import CryptoBoringWrapper
#if canImport(Darwin) || swift(>=5.9.1)
import Foundation
#else
@preconcurrency import Foundation
#endif

typealias ChaCha20CTRImpl = OpenSSLChaCha20CTRImpl

Expand Down
4 changes: 0 additions & 4 deletions Sources/_CryptoExtras/RSA/RSA.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,8 @@ fileprivate typealias BackingPrivateKey = BoringSSLRSAPrivateKey
///
/// When rolling out new cryptosystems, users should avoid RSA and use ECDSA or edDSA instead. RSA
/// support is provided for interoperability with legacy systems.
#if swift(>=5.8)
@_documentation(visibility: public)
public enum _RSA { }
#else
public enum _RSA { }
#endif

extension _RSA {
public enum Signing { }
Expand Down
21 changes: 0 additions & 21 deletions docker/docker-compose.2204.58.yaml

This file was deleted.

0 comments on commit 3570357

Please sign in to comment.