mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 21:34:46 +00:00
#7330 Removes `c-kzg` from our `kzg` crate and rely fully on the `rust_eth_kzg` crate. This removes the old `Blob` type entirely and instead handles `rust_eth_kzg::KzgBlobRef`s directly which allows us to avoid some extra stack allocations . Similarly, we make `Bytes32` and `Bytes48` type aliases rather than structs as this fits better with the new `rust_eth_kzg` API. Co-Authored-By: Mac L <mjladson@pm.me>
34 lines
860 B
TOML
34 lines
860 B
TOML
[package]
|
|
name = "kzg"
|
|
version = "0.1.0"
|
|
authors = ["Pawan Dhananjay <pawandhananjay@gmail.com>"]
|
|
edition = "2021"
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[features]
|
|
default = []
|
|
arbitrary = ["dep:arbitrary"]
|
|
fake_crypto = []
|
|
|
|
[dependencies]
|
|
arbitrary = { workspace = true, optional = true }
|
|
educe = { workspace = true }
|
|
ethereum_hashing = { workspace = true }
|
|
ethereum_serde_utils = { workspace = true }
|
|
ethereum_ssz = { workspace = true }
|
|
ethereum_ssz_derive = { workspace = true }
|
|
hex = { workspace = true }
|
|
rayon = { workspace = true }
|
|
rust_eth_kzg = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tree_hash = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
criterion = { workspace = true }
|
|
|
|
[[bench]]
|
|
name = "benchmark"
|
|
harness = false
|