Skip to content

Commit

Permalink
Workspace dependencies (#448)
Browse files Browse the repository at this point in the history
* Workspace dependencies

* Finish workspace deps

* Bump dependencies
  • Loading branch information
Rigidity authored Aug 5, 2024
1 parent 0f7a7a2 commit 0595074
Show file tree
Hide file tree
Showing 8 changed files with 85 additions and 57 deletions.
45 changes: 23 additions & 22 deletions Cargo.lock

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

40 changes: 35 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,53 @@ openssl = ["dep:openssl"]
[profile.release]
lto = "thin"

[dependencies]
[workspace.dependencies]
clvmr = { path = "." }
lazy_static = "1.5.0"
num-bigint = "0.4.6"
num-traits = "0.2.19"
num-integer = "0.1.46"
chia-bls = "0.10.0"
sha2 = "0.10.8"
openssl = { version = "0.10.64", features = ["vendored"], optional = true }
openssl = "0.10.66"
hex-literal = "0.4.1"
# for secp sigs
k256 = "0.13.3"
p256 = "0.13.2"
rstest = "0.21.0"
criterion = "0.5.1"
hex = "0.4.3"
pyo3 = "0.22.2"
wasm-bindgen = "0.2.92"
wasm-bindgen-test = "0.3.42"
js-sys = "0.3.69"
getrandom = "0.2.15"
libfuzzer-sys = "0.4.6"
rand = "0.8.5"
sha1 = "0.10.6"
linreg = "0.2.0"
serde = "1.0.204"
serde_json = "1.0.121"
clap = "4.5.11"
rand_chacha = "0.3.1"

[dependencies]
lazy_static = { workspace = true }
num-bigint = { workspace = true }
num-traits = { workspace = true }
num-integer = { workspace = true }
chia-bls = { workspace = true }
sha2 = { workspace = true }
openssl = { workspace = true, features = ["vendored"], optional = true }
hex-literal = { workspace = true }
# for secp sigs
k256 = { version = "0.13.3", features = ["ecdsa"] }
p256 = { version = "0.13.2", features = ["ecdsa"] }

[dev-dependencies]
rstest = "0.21.0"
criterion = "0.5.1"
hex = "0.4.3"
rstest = { workspace = true }
criterion = { workspace = true }
hex = { workspace = true }

[[bench]]
name = "run-program"
Expand Down
7 changes: 2 additions & 5 deletions fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@ edition = "2021"
cargo-fuzz = true

[dependencies]
libfuzzer-sys = "0.4.6"

[dependencies.clvmr]
path = ".."
default-features = false
libfuzzer-sys = { workspace = true }
clvmr = { workspace = true }

[[bin]]
name = "fuzz_run_program"
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"fmt": "prettier --write ."
},
"devDependencies": {
"prettier": "^3.3.2"
"prettier": "^3.3.3"
}
}
26 changes: 13 additions & 13 deletions tools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ repository = "https://github.com/Chia-Network/clvm_rs/tools/"
readme = "README.md"

[dependencies]
hex-literal = "0.4.1"
hex = "0.4.3"
rand = "0.8.5"
sha1 = "0.10.6"
linreg = "0.2.0"
clvmr = { path = ".." }
chia-bls = "0.10.0"
num-bigint = "0.4.6"
num-integer = "0.1.46"
serde = { version = "1.0.204", features = ["derive"] }
serde_json = "1.0.120"
clap = { version = "4.5.9", features = ["derive"] }
rand_chacha = "0.3.1"
hex-literal = { workspace = true }
hex = { workspace = true }
rand = { workspace = true }
sha1 = { workspace = true }
linreg = { workspace = true }
clvmr = { workspace = true }
chia-bls = { workspace = true }
num-bigint = { workspace = true }
num-integer = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
clap = { workspace = true, features = ["derive"] }
rand_chacha = { workspace = true }

[[bin]]
name = "generate-fuzz-corpus"
Expand Down
10 changes: 5 additions & 5 deletions wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ crate-type = ["cdylib"]
path = "src/lib.rs"

[dependencies]
clvmr = { path = ".." }
wasm-bindgen = "0.2.92"
wasm-bindgen-test = "0.3.42"
js-sys = "0.3.69"
getrandom = { version = "0.2.15", features = ["js"] }
clvmr = { workspace = true }
wasm-bindgen = { workspace = true }
wasm-bindgen-test = { workspace = true }
js-sys = { workspace = true }
getrandom = { workspace = true, features = ["js"] }
4 changes: 2 additions & 2 deletions wheel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ crate-type = ["cdylib"]
path = "src/lib.rs"

[dependencies]
clvmr = { path = ".." }
pyo3 = { version = "0.22.1", features = ["abi3-py38", "extension-module"] }
clvmr = { workspace = true }
pyo3 = { workspace = true, features = ["abi3-py38", "extension-module"] }

[features]
openssl = ["clvmr/openssl"]

0 comments on commit 0595074

Please sign in to comment.