Skip to content

Commit

Permalink
Update Package.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksymVereshchaka authored May 3, 2023
1 parent d7f5a95 commit df875b2
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.5.0
// swift-tools-version: 5.7.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -13,17 +13,25 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/attaswift/BigInt.git", from: "5.3.0"),
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", from: "1.5.1")
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", from: "1.5.1"),
.package(url: "https://github.com/GigaBitcoin/secp256k1.swift", .upToNextMinor(from: "0.10.0")),
],
targets: [
.target(name: "secp256k1"),
.target(
name: "Web3Core",
dependencies: ["BigInt", "secp256k1", "CryptoSwift"]
dependencies: [
.product(name: "secp256k1", package: "secp256k1.swift"),
"BigInt",
"CryptoSwift"
]
),
.target(
name: "web3swift",
dependencies: ["Web3Core", "BigInt", "secp256k1"],
dependencies: [
.product(name: "secp256k1", package: "secp256k1.swift"),
"Web3Core",
"BigInt",
],
resources: [
.copy("./Browser/browser.js"),
.copy("./Browser/browser.min.js"),
Expand Down

0 comments on commit df875b2

Please sign in to comment.