2023-01-12 17:50:12 +00:00
|
|
|
[package]
|
|
|
|
name = "c-kzg"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2023-04-05 18:33:37 +00:00
|
|
|
links = "ckzg"
|
2023-01-12 17:50:12 +00:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[features]
|
2023-04-10 20:45:34 +00:00
|
|
|
|
|
|
|
# BLST Compilation:
|
|
|
|
# By default, compile with ADX extension if the host supports it. Binary can be
|
|
|
|
# executed on systems similar to the host.
|
2023-01-12 17:50:12 +00:00
|
|
|
default = ["mainnet-spec"]
|
|
|
|
mainnet-spec = []
|
|
|
|
minimal-spec = []
|
2023-04-10 20:45:34 +00:00
|
|
|
# BLST Compilation:
|
|
|
|
# Compile in portable mode, without ISA extensions.
|
|
|
|
# Binary can be executed on all systems.
|
|
|
|
portable = []
|
|
|
|
# BLST Compilation:
|
|
|
|
# Enable ADX even if the host CPU doesn't support it.
|
|
|
|
# Binary can be executed on Broadwell+ and Ryzen+ systems.
|
|
|
|
force-adx = []
|
|
|
|
# BLST Compilation:
|
|
|
|
# Suppress multi-threading.
|
|
|
|
# Engaged on wasm32 target architecture automatically.
|
|
|
|
no-threads = []
|
2023-01-12 17:50:12 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
hex = "0.4.2"
|
2023-03-03 23:01:56 +00:00
|
|
|
libc = "0.2"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2023-01-12 17:50:12 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
criterion = "0.4"
|
2023-03-03 23:01:56 +00:00
|
|
|
glob = "0.3.1"
|
|
|
|
rand = "0.8.5"
|
|
|
|
serde_yaml = "0.9.17"
|
2023-01-12 17:50:12 +00:00
|
|
|
|
2023-03-27 14:47:24 +00:00
|
|
|
[build-dependencies]
|
|
|
|
bindgen = { git = "https://github.com/rust-lang/rust-bindgen" , rev = "0de11f0a521611ac8738b7b01d19dddaf3899e66" }
|
2023-04-05 18:33:37 +00:00
|
|
|
cc = "1.0"
|
2023-03-27 14:47:24 +00:00
|
|
|
|
2023-04-10 20:45:34 +00:00
|
|
|
[target.'cfg(target_env = "msvc")'.build-dependencies]
|
|
|
|
glob = "0.3"
|
|
|
|
|
2023-01-12 17:50:12 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "kzg_benches"
|
2023-03-27 14:47:24 +00:00
|
|
|
harness = false
|