2023-01-12 17:50:12 +00:00
|
|
|
[package]
|
|
|
|
name = "c-kzg"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2023-08-09 20:49:22 +00:00
|
|
|
license = "Apache-2.0"
|
2023-10-18 18:31:55 +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-10-18 18:31:55 +00:00
|
|
|
default = ["std"]
|
2023-09-05 22:06:03 +00:00
|
|
|
std = ["hex/std", "libc/std", "serde?/std"]
|
|
|
|
serde = ["dep:serde"]
|
2023-08-11 15:19:02 +00:00
|
|
|
|
2023-04-10 20:45:34 +00:00
|
|
|
# BLST Compilation:
|
|
|
|
# Suppress multi-threading.
|
|
|
|
# Engaged on wasm32 target architecture automatically.
|
|
|
|
no-threads = []
|
2023-01-12 17:50:12 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-09-05 22:06:03 +00:00
|
|
|
hex = { version = "0.4.2", default-features = false, features = ["alloc"] }
|
|
|
|
libc = { version = "0.2", default-features = false }
|
|
|
|
serde = { version = "1.0", optional = true, default-features = false, features = [
|
|
|
|
"alloc",
|
|
|
|
"derive",
|
|
|
|
] }
|
|
|
|
blst = { version = "0.3.11", default-features = false }
|
2023-01-12 17:50:12 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-08-10 11:51:56 +00:00
|
|
|
criterion = "0.5.1"
|
2023-03-03 23:01:56 +00:00
|
|
|
glob = "0.3.1"
|
|
|
|
rand = "0.8.5"
|
2023-09-05 22:06:03 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2023-03-03 23:01:56 +00:00
|
|
|
serde_yaml = "0.9.17"
|
2023-08-25 03:39:46 +00:00
|
|
|
serde_json = "1.0.105"
|
2023-01-12 17:50:12 +00:00
|
|
|
|
2023-03-27 14:47:24 +00:00
|
|
|
[build-dependencies]
|
2024-01-22 16:16:35 +00:00
|
|
|
bindgen = "0.69"
|
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
|