diff --git a/Package.swift b/Package.swift index 1f5c6ead8..e4ed89dd5 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.5 +// swift-tools-version:5.7 import PackageDescription @@ -13,9 +13,9 @@ let package = Package( .library(name: "SmithyTestUtil", targets: ["SmithyTestUtil"]) ], dependencies: [ - .package(url: "https://github.com/awslabs/aws-crt-swift.git", .exact("0.13.0")), + .package(url: "https://github.com/awslabs/aws-crt-swift.git", exact: "0.13.0"), .package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"), - .package(url: "https://github.com/MaxDesiatov/XMLCoder.git", .exact("0.17.0")) + .package(url: "https://github.com/MaxDesiatov/XMLCoder.git", exact: "0.17.0") ], targets: [ .target( diff --git a/Sources/ClientRuntime/Retries/DefaultRetryStrategy/RetryQuota.swift b/Sources/ClientRuntime/Retries/DefaultRetryStrategy/RetryQuota.swift index 717783dd2..d516d658c 100644 --- a/Sources/ClientRuntime/Retries/DefaultRetryStrategy/RetryQuota.swift +++ b/Sources/ClientRuntime/Retries/DefaultRetryStrategy/RetryQuota.swift @@ -55,7 +55,7 @@ final actor RetryQuota { /// Creates a new quota with settings from the passed options. /// - Parameter options: The retry strategy options from which to configure this retry quota - convenience init(options: RetryStrategyOptions) { + init(options: RetryStrategyOptions) { self.init( availableCapacity: options.availableCapacity, maxCapacity: options.maxCapacity, diff --git a/Sources/ClientRuntime/Util/SwiftVersion.swift b/Sources/ClientRuntime/Util/SwiftVersion.swift index 6c167d527..6d1633b2c 100644 --- a/Sources/ClientRuntime/Util/SwiftVersion.swift +++ b/Sources/ClientRuntime/Util/SwiftVersion.swift @@ -49,20 +49,6 @@ private func swift5Version() -> String? { return "5.8" #elseif swift(>=5.7) return "5.7" - #elseif swift(>=5.6) - return "5.6" - #elseif swift(>=5.5) - return "5.5" - #elseif swift(>=5.4) - return "5.4" - #elseif swift(>=5.3) - return "5.3" - #elseif swift(>=5.2) - return "5.2" - #elseif swift(>=5.1) - return "5.1" - #elseif swift(>=5.0) - return "5.0" #else return nil #endif