feat: add portable feature to enable blst portable

This commit is contained in:
Dan Cline 2024-02-02 17:45:48 -05:00
parent 5115420ba3
commit 684a896a4c

View File

@ -15,7 +15,12 @@ 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"]
# BLST Compilation:
# Compile in portable mode, without ISA extensions.
# Binary can be executed on all systems.
portable = ["blst/portable"]
[dependencies] [dependencies]
hex = { version = "0.4.2", default-features = false, features = ["alloc"] } hex = { version = "0.4.2", default-features = false, features = ["alloc"] }