2023-01-12 23:20:12 +05:30
|
|
|
[package]
|
|
|
|
name = "c-kzg"
|
2024-03-12 08:19:33 -05:00
|
|
|
version = "1.0.0"
|
2023-01-12 23:20:12 +05:30
|
|
|
edition = "2021"
|
2023-08-09 16:49:22 -04:00
|
|
|
license = "Apache-2.0"
|
2023-10-18 13:31:55 -05:00
|
|
|
links = "ckzg"
|
2023-01-12 23:20:12 +05:30
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[features]
|
2024-02-07 07:07:20 -05:00
|
|
|
default = ["std", "portable"]
|
2023-09-06 00:06:03 +02:00
|
|
|
std = ["hex/std", "libc/std", "serde?/std"]
|
|
|
|
serde = ["dep:serde"]
|
2024-02-06 19:39:07 +02:00
|
|
|
generate-bindings = ["dep:bindgen"]
|
2023-08-11 10:19:02 -05:00
|
|
|
|
2024-02-07 07:07:20 -05:00
|
|
|
# This is a standalone feature so that crates that disable default features can
|
|
|
|
# enable blst/portable without having to add it as a dependency
|
|
|
|
portable = ["blst/portable"]
|
|
|
|
|
2023-04-10 15:45:34 -05:00
|
|
|
# BLST Compilation:
|
|
|
|
# Suppress multi-threading.
|
|
|
|
# Engaged on wasm32 target architecture automatically.
|
2024-02-02 17:45:48 -05:00
|
|
|
no-threads = ["blst/no-threads"]
|
|
|
|
|
2023-01-12 23:20:12 +05:30
|
|
|
[dependencies]
|
2024-02-06 19:39:07 +02:00
|
|
|
blst = { version = "0.3.11", default-features = false }
|
2023-09-06 00:06:03 +02: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",
|
|
|
|
] }
|
2023-01-12 23:20:12 +05:30
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-08-10 06:51:56 -05:00
|
|
|
criterion = "0.5.1"
|
2023-03-03 16:01:56 -07:00
|
|
|
glob = "0.3.1"
|
|
|
|
rand = "0.8.5"
|
2023-09-06 00:06:03 +02:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2023-03-03 16:01:56 -07:00
|
|
|
serde_yaml = "0.9.17"
|
2023-08-24 23:39:46 -04:00
|
|
|
serde_json = "1.0.105"
|
2023-01-12 23:20:12 +05:30
|
|
|
|
2023-03-27 09:47:24 -05:00
|
|
|
[build-dependencies]
|
2024-02-06 19:39:07 +02:00
|
|
|
bindgen = { version = "0.69", optional = true }
|
2023-04-05 13:33:37 -05:00
|
|
|
cc = "1.0"
|
2023-03-27 09:47:24 -05:00
|
|
|
|
2023-04-10 15:45:34 -05:00
|
|
|
[target.'cfg(target_env = "msvc")'.build-dependencies]
|
|
|
|
glob = "0.3"
|
|
|
|
|
2023-01-12 23:20:12 +05:30
|
|
|
[[bench]]
|
|
|
|
name = "kzg_benches"
|
2023-03-27 09:47:24 -05:00
|
|
|
harness = false
|