Cargo Features

blst has no features set by default.

[dependencies]
blst = { version = "0.3.11", features = ["portable", "force-adx", "no-threads", "serde-secret"] }
default

By default, compile with ADX extension if the host supports it.
Binary can be executed on systems similar to the host.

portable

Compile in portable mode, without ISA extensions.
Binary can be executed on all systems.

force-adx

Enable ADX even if the host CPU doesn't support it.
Binary can be executed on Broadwell+ and Ryzen+ systems.

no-threads

Suppress multi-threading.
Engaged on wasm32 target architecture automatically.

serde-secret = serde

Add support for serializing SecretKey, not suitable for production.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde serde-secret?