Cargo Features

[dependencies]
solar-compiler = { version = "0.1.0", default-features = false, features = ["cli", "nightly", "asm", "jemalloc", "tracing-off", "tracing-chrome", "tracy", "tracy-allocator"] }
default = cli

These default features are set whenever solar-compiler is added without default-features = false somewhere in the dependency tree.

Enables optional solar-cli

cli default

Enable the CLI and binary.

Enables solar-cli

Required by the solar binary

nightly

Nightly-only features for faster/smaller builds.

Enables nightly of solar-ast, optional solar-cli, solar-config, solar-interface, solar-parse, and solar-sema

asm

Faster but less portable algorithm implementations, such as Keccak-256.

Enables asm-keccak of alloy-primitives, asm of optional solar-cli

jemalloc

Faster but less portable allocator.

Enables jemalloc of optional solar-cli

tracing-off

Debugging and profiling.

Enables tracing-off of optional solar-cli

tracing-chrome

Enables tracing-chrome of optional solar-cli

tracy

Enables tracy of optional solar-cli

tracy-allocator

Enables tracy-allocator of optional solar-cli