# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "c-kzg" version = "2.0.0" build = "bindings/rust/build.rs" links = "ckzg" include = [ "src", "inc", "bindings/rust/src", "bindings/rust/build.rs", "blst/bindings/*.h", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A minimal implementation of the Polynomial Commitments API for EIP-4844 and EIP-7594, written in C." readme = "README.md" license = "Apache-2.0" [lib] name = "c_kzg" path = "bindings/rust/src/lib.rs" [dependencies.arbitrary] version = "1" features = ["derive"] [dependencies.blst] version = "0.3.12" default-features = false [dependencies.hex] version = "0.4.2" features = ["alloc"] default-features = false [dependencies.libc] version = "0.2" default-features = false [dependencies.once_cell] version = "1.19" features = ["alloc"] optional = true default-features = false [dependencies.serde] version = "1.0" features = [ "alloc", "derive", ] optional = true default-features = false [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.glob] version = "0.3.1" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde_json] version = "1.0.105" [dev-dependencies.serde_yaml] version = "0.9.17" [build-dependencies.bindgen] version = "0.69" optional = true [build-dependencies.cc] version = "1.0" [features] default = [ "std", "portable", "ethereum_kzg_settings", ] ethereum_kzg_settings = ["dep:once_cell"] generate-bindings = ["dep:bindgen"] generate-fuzz-corpus = [] no-threads = ["blst/no-threads"] portable = ["blst/portable"] serde = ["dep:serde"] std = [ "hex/std", "libc/std", "serde?/std", "once_cell?/std", ] [target.'cfg(target_env = "msvc")'.build-dependencies.glob] version = "0.3"