// swift-tools-version:5.3 import PackageDescription let package = Package( name: "CryptoSwift", platforms: [ .macOS(.v10_12), .iOS(.v9), .tvOS(.v9), .watchOS(.v2) ], products: [ .library( name: "CryptoSwift", targets: ["CryptoSwift"] ) ], targets: [ .target(name: "CryptoSwift"), .testTarget(name: "CryptoSwiftTests", dependencies: ["CryptoSwift"]), .testTarget(name: "TestsPerformance", dependencies: ["CryptoSwift"]) ], swiftLanguageVersions: [.v5] ) #if swift(>=5.6) // Add the documentation compiler plugin if possible package.dependencies.append( .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0") ) #endif