Merge pull request #389 from Rjected/add-portable-feature

feat: enable blst portable by default
This commit is contained in:
George Kadianakis 2024-02-05 14:41:48 +02:00 committed by GitHub
commit 4607d3f4c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -8,14 +8,14 @@ links = "ckzg"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features] [features]
default = ["std"] default = ["std", "blst/portable"]
std = ["hex/std", "libc/std", "serde?/std"] std = ["hex/std", "libc/std", "serde?/std"]
serde = ["dep:serde"] serde = ["dep:serde"]
# BLST Compilation: # BLST Compilation:
# Suppress multi-threading. # Suppress multi-threading.
# Engaged on wasm32 target architecture automatically. # Engaged on wasm32 target architecture automatically.
no-threads = [] no-threads = ["blst/no-threads"]
[dependencies] [dependencies]
hex = { version = "0.4.2", default-features = false, features = ["alloc"] } hex = { version = "0.4.2", default-features = false, features = ["alloc"] }