|
| 1 | +// swift-tools-version:5.7 |
| 2 | +import PackageDescription |
| 3 | + |
| 4 | +let package = Package( |
| 5 | + name: "_Packages", |
| 6 | + products: [ |
| 7 | + .library(name: "_Packages", type: .dynamic, targets: ["_Packages"]), |
| 8 | + ], |
| 9 | + dependencies: [ |
| 10 | + .package(url: "https://github.com/apple/swift-algorithms", from: "1.2.1"), |
| 11 | + .package(url: "https://github.com/apple/swift-atomics", from: "1.2.0"), |
| 12 | + .package(url: "https://github.com/apple/swift-collections", from: "1.1.4"), |
| 13 | + .package(url: "https://github.com/apple/swift-crypto", from: "3.12.3"), |
| 14 | + .package(url: "https://github.com/apple/swift-numerics", from: "1.0.3"), |
| 15 | + .package(url: "https://github.com/apple/swift-system", from: "1.4.2"), |
| 16 | + ], |
| 17 | + targets: [ |
| 18 | + .target( |
| 19 | + name: "_Packages", |
| 20 | + dependencies: [ |
| 21 | + .product(name: "Algorithms", package: "swift-algorithms"), |
| 22 | + .product(name: "Atomics", package: "swift-atomics"), |
| 23 | + .product(name: "Collections", package: "swift-collections"), |
| 24 | + .product(name: "Crypto", package: "swift-crypto"), |
| 25 | + .product(name: "Numerics", package: "swift-numerics"), |
| 26 | + .product(name: "SystemPackage", package: "swift-system"), |
| 27 | + ], |
| 28 | + swiftSettings: [ |
| 29 | + .unsafeFlags(["-cross-module-optimization"], .when(configuration: .release)), |
| 30 | + ] |
| 31 | + ), |
| 32 | + ] |
| 33 | +) |
0 commit comments