This project is currently warnings-as-errors clean, but only because we
suppress `ImplementationOnlyDeprecated` warnings, using the following:
```
-Xswiftc -warnings-as-errors -Xswiftc -Wwarning -Xswiftc ImplementationOnlyDeprecated
```
With this setup, the warnings are still generated and are noisy.
Swift 6.4 introduces `SourceWarningControl`, which we can use to
actually _silence_ these warnings, using `@diagnose(_:as:)`.
This patch adds a dance around the `@_implementationOnly imports`:
#if hasFeature(SourceWarningControl)
@diagnose(ImplementationOnlyDeprecated, as: ignored)
#endif
@_implementationOnly import ...
On Swift 6.4, this project is now warnings free.
When we raise the minimum supported Swift compiler version to one that
supports `SourceWarningControl`, we can remove the `#if hasFeature`
guards.
## Motivation
Xcode 27 beta is now available[^1] with new CryptoKit API so we need to
provide the cross-platform API here.
## Modifications
- Update shared API surface to align with CryptoKit
- Provide backing implementations for non-Apple platforms
- Bump minimum Swift version to 6.2
- Adopt `Lifetimes` language feature
- Provide Dev Container config for maintainers working on Linux backend
- Update CI to 6.2, where required
- Update CMake build
- Remove duplicate tests
## Result
Adopters can try out new APIs via this cross-platform package.
[^1]: https://developer.apple.com/download/all/?q=Xcode%2027