c-kzg 2.0.0

A minimal implementation of the Polynomial Commitments API for EIP-4844 and EIP-7594, written in C.
Documentation
[build-dependencies.bindgen]
optional = true
version = "0.69"

[build-dependencies.cc]
version = "1.0"

[dependencies.arbitrary]
features = ["derive"]
version = "1"

[dependencies.blst]
default-features = false
version = "0.3.12"

[dependencies.hex]
default-features = false
features = ["alloc"]
version = "0.4.2"

[dependencies.libc]
default-features = false
version = "0.2"

[dependencies.once_cell]
default-features = false
features = ["alloc"]
optional = true
version = "1.19"

[dependencies.serde]
default-features = false
features = ["alloc", "derive"]
optional = true
version = "1.0"

[dev-dependencies.criterion]
version = "0.5.1"

[dev-dependencies.glob]
version = "0.3.1"

[dev-dependencies.rand]
version = "0.8.5"

[dev-dependencies.serde]
features = ["derive"]
version = "1.0"

[dev-dependencies.serde_json]
version = "1.0.105"

[dev-dependencies.serde_yaml]
version = "0.9.17"

[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"]

[lib]
name = "c_kzg"
path = "bindings/rust/src/lib.rs"

[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "bindings/rust/build.rs"
description = "A minimal implementation of the Polynomial Commitments API for EIP-4844 and EIP-7594, written in C."
edition = "2021"
include = ["src", "inc", "bindings/rust/src", "bindings/rust/build.rs", "blst/bindings/*.h"]
license = "Apache-2.0"
links = "ckzg"
name = "c-kzg"
readme = "README.md"
version = "2.0.0"

[target.'cfg(target_env = "msvc")'.build-dependencies.glob]
version = "0.3"