Cargo Features

[dependencies]
solar-compiler = { version = "0.1.2", default-features = false, features = ["cli", "nightly", "asm", "jemalloc", "tracing", "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 ^0.8, asm of optional solar-cli

jemalloc

Faster but less portable allocator.

Enables jemalloc of optional solar-cli

tracing tracing-chrome? tracy? tracy-allocator?

Debugging and profiling.

Enables tracing of optional solar-cli

tracing-off

Enables tracing-off of optional solar-cli

tracing-chrome = tracing

Enables tracing-chrome of optional solar-cli

tracy = tracing

Enables tracy of optional solar-cli

tracy-allocator = tracing

Enables tracy-allocator of optional solar-cli