mirror of
https://github.com/apple/swift-certificates
synced 2026-11-24 04:27:49 +00:00
Motivation: Swift 5.10 is no longer supported. We should raise the minimum Swift tools version to 6.0, fix consequent build warnings/errors, and remove 5.10 CI jobs. Modifications: - Raised the Swift tools version to 6.0 in both the main `swift-certificates` package and the Benchmark package. - Removed the now redundant `StrictConcurrency=complete` flag in `swift-certificates`' `Package.swift`. - Removed 5.10 CI job arguments. - Removed 5.10 benchmark thresholds. - Added an explicit type annotation to the `package-benchmark` setup closure to address a build error. - Updated `VerifierBenchmark` to use newer, non-deprecated `RFC5280Policy` initializers (as a result of #276). - Updated a test case in `Tests/X509Tests/PEMTests.swift` to no longer use a deprecated `String` initializer. Result: Code reflects our support window.