chore: make standalone portable feature, enabled by default (#391)

This commit is contained in:
Dan Cline 2024-02-07 07:07:20 -05:00 committed by GitHub
parent fd669bfa36
commit 0bbededd08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -8,11 +8,15 @@ links = "ckzg"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["std", "blst/portable"]
default = ["std", "portable"]
std = ["hex/std", "libc/std", "serde?/std"]
serde = ["dep:serde"]
generate-bindings = ["dep:bindgen"]
# 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"]
# BLST Compilation:
# Suppress multi-threading.
# Engaged on wasm32 target architecture automatically.