diff --git a/Package.resolved b/Package.resolved new file mode 100644 index 0000000000..27daaabac3 --- /dev/null +++ b/Package.resolved @@ -0,0 +1,25 @@ +{ + "object": { + "pins": [ + { + "package": "swift-algorithms", + "repositoryURL": "https://github.com/apple/swift-algorithms", + "state": { + "branch": null, + "revision": "bb3bafeca0e164ece3403a9de646b7d38c07dd49", + "version": "0.0.2" + } + }, + { + "package": "swift-numerics", + "repositoryURL": "https://github.com/apple/swift-numerics", + "state": { + "branch": null, + "revision": "6b24333510e9044cf4716a07bed65eeed6bc6393", + "version": "0.0.8" + } + } + ] + }, + "version": 1 +} diff --git a/Package.swift b/Package.swift index f4be90e76b..8b266f9287 100644 --- a/Package.swift +++ b/Package.swift @@ -18,8 +18,14 @@ let package = Package( type: .dynamic, targets: ["Charts"]) ], + dependencies: [ + .package(url: "https://github.com/apple/swift-algorithms", from: "0.0.1") + ], targets: [ - .target(name: "Charts") + .target( + name: "Charts", + dependencies: [.product(name: "Algorithms", package: "swift-algorithms")] + ) ], swiftLanguageVersions: [.v5] )