NIOAtomic is now deprecated in favor of ManagedAtomic.
…/.build/checkouts/websocket-kit/Sources/WebSocketKit/WebSocketClient.swift:40:22: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
let isShutdown = NIOAtomic.makeAtomic(value: false)
To Reproduce
With
$ swift --version
Swift version 5.6.2 (swift-5.6.2-RELEASE)
Target: aarch64-unknown-linux-gnu
Compile this library.
Expected behavior
No warnings.
Environment
$ swift --version
Swift version 5.6.2 (swift-5.6.2-RELEASE)
Target: aarch64-unknown-linux-gnu
websocket-kit 2.6.0
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
Describe the bug
NIOAtomic
is now deprecated in favor ofManagedAtomic
.To Reproduce
With
Compile this library.
Expected behavior
No warnings.
Environment
websocket-kit 2.6.0
Additional context
n/a