gh-XcodesOrg-XcodesApp/xcodes-srp/Package.swift
2024-10-24 19:34:26 -05:00

26 lines
733 B
Swift

// swift-tools-version:5.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "swift-srp",
platforms: [
.macOS(.v10_15),
.iOS(.v13),
.watchOS(.v6),
.tvOS(.v13),
],
products: [
.library(name: "SRP", targets: ["SRP"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-crypto", from: "1.0.0"),
.package(url: "https://github.com/attaswift/BigInt.git", from: "5.0.0")
],
targets: [
.target(name: "SRP", dependencies: ["Crypto", "BigInt"]),
.testTarget(
name: "SRPTests", dependencies: ["SRP"]),
]
)