Skip to content

Commit

Permalink
chore: move dependencies to workspace level, update all versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Oct 7, 2023
1 parent 4906763 commit 0515e36
Show file tree
Hide file tree
Showing 5 changed files with 112 additions and 47 deletions.
125 changes: 92 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 11 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,14 @@ license = "Apache-2.0"
[workspace.dependencies]
amplify = "4.2.0"
strict_encoding = "2.5.0"
strict_types = "1.6.2"
commit_verify = "0.10.5"
single_use_seals = "0.10.0"
bp-consensus = { version = "0.10.10", path = "consensus" }
bp-dbc = { version = "0.10.10", path = "./dbc" }
bp-seals = { version = "0.10.10", path = "./seals" }
secp256k1 = { version = "0.27.0", features = ["global-context"] }
serde_crate = { package = "serde", version = "1", features = ["derive"] }

[package]
name = "bp-core"
Expand Down Expand Up @@ -53,13 +59,13 @@ required-features = ["stl"]
[dependencies]
amplify = { workspace = true }
strict_encoding = { workspace = true }
strict_types = { version = "1.6.0", optional = true }
strict_types = { workspace = true, optional = true }
commit_verify = { workspace = true }
single_use_seals = { workspace = true }
bp-consensus = { version = "0.10.7", path = "consensus" }
bp-dbc = { version = "0.10.9", path = "./dbc" }
bp-seals = { version = "0.10.9", path = "./seals" }
serde_crate = { package = "serde", version = "1", features = ["derive"], optional = true }
bp-consensus = { workspace = true }
bp-dbc = { workspace = true }
bp-seals = { workspace = true }
serde_crate = { workspace = true, optional = true }

[features]
default = []
Expand Down
6 changes: 3 additions & 3 deletions consensus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ name = "bc"

[dependencies]
amplify = { workspace = true }
secp256k1 = { version = "0.27.0", features = ["global-context"] }
strict_encoding = { workspace = true }
strict_types = { version = "1.6.2", optional = true }
strict_types = { workspace = true, optional = true }
commit_verify = { workspace = true }
serde_crate = { package = "serde", version = "1", features = ["derive"], optional = true }
secp256k1 = { workspace = true }
serde_crate = { workspace = true, optional = true }

[features]
default = []
Expand Down
6 changes: 3 additions & 3 deletions dbc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ amplify = { workspace = true }
base85 = "=2.0.0"
strict_encoding = { workspace = true }
commit_verify = { workspace = true, features = ["rand"] }
bp-consensus = { version = "0.10.6", path = "../consensus" }
secp256k1 = { version = "0.27.0", features = ["global-context", "rand-std"] }
serde_crate = { package = "serde", version = "1", features = ["derive"], optional = true }
bp-consensus = { workspace = true }
secp256k1 = { workspace = true, features = ["global-context", "rand-std"] }
serde_crate = { workspace = true, optional = true }

[features]
default = []
Expand Down
6 changes: 3 additions & 3 deletions seals/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ single_use_seals = { workspace = true }
commit_verify = { workspace = true }
strict_encoding = { workspace = true }
baid58 = "0.4.4"
bp-consensus = { version = "0.10.7", path = "../consensus" }
bp-dbc = { version = "0.10.9", path = "../dbc" }
bp-consensus = { workspace = true }
bp-dbc = { workspace = true }
rand = "0.8.5"
serde_crate = { package = "serde", version = "1", features = ["derive"], optional = true }
serde_crate = { workspace = true, optional = true }

[features]
default = []
Expand Down

0 comments on commit 0515e36

Please sign in to comment.