Skip to content

Commit

Permalink
move to workspace dep and clarify license
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected committed Aug 7, 2023
1 parent 2beddbd commit 81fcf82
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ jsonrpsee-types = { version = "0.19" }

## crypto
secp256k1 = { version = "0.27.0", default-features = false, features = ["global-context", "rand-std", "recovery"] }
# for eip-4844
c-kzg = { git = "https://github.com/ethereum/c-kzg-4844" }

### misc-testing
proptest = "1.0"
Expand Down
4 changes: 2 additions & 2 deletions crates/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ crunchy = { version = "0.2.2", default-features = false, features = ["limit_256"
ruint = { version = "1.9.0", features = ["primitive-types", "rlp"] }

# Bloom
fixed-hash = { version = "0.8", default-features = false, features = ["rustc-hex"] }
fixed-hash = { version = "0.8", default-features = false, features = ["rustc-hex"] }

# crypto
secp256k1 = { workspace = true, default-features = false, features = [
Expand All @@ -32,7 +32,7 @@ secp256k1 = { workspace = true, default-features = false, features = [
] }

# for eip-4844
c-kzg = { git = "https://github.com/ethereum/c-kzg-4844" }
c-kzg = { workspace = true }

# used for forkid
crc = "3"
Expand Down
2 changes: 1 addition & 1 deletion crates/rlp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ revm-primitives = { workspace = true, features = ["serde"] }
reth-rlp-derive = { path = "./rlp-derive", optional = true }

# for eip-4844
c-kzg = { git = "https://github.com/ethereum/c-kzg-4844", optional = true }
c-kzg = { workspace = true, optional = true }

[dev-dependencies]
reth-rlp = { workspace = true, features = [
Expand Down
7 changes: 7 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,13 @@ name = "rustls-webpki"
expression = "LicenseRef-rustls-webpki"
license-files = [{ path = "LICENSE", hash = 0x001c7e6c }]

[[licenses.clarify]]
name = "c-kzg"
expression = "Apache-2.0"
# The crate is in `bindings/rust` so we have to go up two directories for the
# license
license-files = [{ path = "../../LICENSE", hash = 0x13cec820 }]

# This section is considered when running `cargo deny check sources`.
# More documentation about the 'sources' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html
Expand Down

0 comments on commit 81fcf82

Please sign in to comment.