@@ -23,6 +23,7 @@ let package = Package(
2323 . library( name: " RedisTypes " , targets: [ " RedisTypes " ] )
2424 ] ,
2525 dependencies: [
26+ . package ( url: " https://github.com/apple/swift-atomics.git " , from: " 1.1.0 " ) ,
2627 . package ( url: " https://github.com/apple/swift-log.git " , from: " 1.0.0 " ) ,
2728 . package ( url: " https://github.com/apple/swift-metrics.git " , " 1.0.0 " ..< " 3.0.0 " ) ,
2829 . package ( url: " https://github.com/apple/swift-nio.git " , from: " 2.43.0 " ) ,
@@ -31,6 +32,7 @@ let package = Package(
3132 . target(
3233 name: " RediStack " ,
3334 dependencies: [
35+ . product( name: " Atomics " , package : " swift-atomics " ) ,
3436 . product( name: " NIO " , package : " swift-nio " ) ,
3537 . product( name: " Logging " , package : " swift-log " ) ,
3638 . product( name: " Metrics " , package : " swift-metrics " )
@@ -47,7 +49,9 @@ let package = Package(
4749 . testTarget(
4850 name: " RediStackTests " ,
4951 dependencies: [
50- " RediStack " , " RediStackTestUtils " ,
52+ " RediStack " ,
53+ " RediStackTestUtils " ,
54+ . product( name: " Atomics " , package : " swift-atomics " ) ,
5155 . product( name: " NIO " , package : " swift-nio " ) ,
5256 . product( name: " NIOTestUtils " , package : " swift-nio " )
5357 ]
0 commit comments