Cargo Features
[dependencies]
solar-cli = { version = "0.1.2", default-features = false, features = ["nightly", "asm", "jemalloc", "tracing", "tracing-off", "tracing-chrome", "tracy", "tracy-allocator"] }
- default = jemalloc, tracing
-
These default features are set whenever
solar-cli
is added without
somewhere in the dependency tree.default-features = false - nightly
-
Nightly-only features for faster/smaller builds.
Enables nightly of solar-config, solar-interface, and solar-sema
- asm
-
Faster but less portable algorithm implementations, such as Keccak-256.
Enables asm-keccak of alloy-primitives ^0.8, asm of solar-config
- jemalloc default
-
Faster but less portable allocator.
Enables tikv-jemallocator, jemalloc of solar-config
- tracing default tracing-chrome? tracing-off? tracy? tracy-allocator?
-
Debugging and profiling.
Enables tracing-subscriber, tracing of solar-config
- tracing-off
-
Enables tracing-off of solar-config, release_max_level_off of tracing
- tracing-chrome = tracing
-
Enables tracing-chrome, tracing-chrome of solar-config
- tracy tracy-allocator? = tracing
-
Enables tracing-tracy, tracy of solar-config
- tracy-allocator = tracing, tracy
-
Enables tracy-allocator of solar-config