Cargo Features

egg has no features set by default.

[dependencies]
egg = { version = "0.11.0", features = ["deterministic", "lp", "reports", "serde-1", "wasm-bindgen", "test-explanations"] }
deterministic

forces the use of indexmaps over hashmaps

lp = good_lp
reports = serde-1, serde_json
serde-1 reports? = serde, vectorize

Enables serde of hashbrown ^0.15.2, indexmap, and symbol_table ^0.4.0

hashbrown:

Enables serde support.

wasm-bindgen
test-explanations

private features for testing

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.

good_lp lp?

Enables good_lp

for the lp feature

serde serde-1?

Enables serde

for the serde-1 feature

vectorize serde-1?
serde_json reports?

Enables serde_json

for the reports feature