Cargo Features
[dependencies]
logic_tracer = { version = "0.0.10", default-features = false, features = ["regex_test", "combinational", "sequential", "full"] }
- default = full
-
no features enabled by default
- regex_test full = regex
-
enable the regex feature
- combinational
-
Features are a way to enable or disable parts of your library combinational logic stuff (gates, multiplexers, decoders, etc)
- sequential
-
sequential logic stuff (flip-flops, registers, counters, etc)
- full default = regex_test
-
all features enabled
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.
the link-time optimizations means that the compiler will optimize the code across the whole program, not just the current crate
DEPENDENCIES --------------------------------------------------------------------------------
- regex regex_test?
-
Enables regex
Regular expressions (https://docs.rs/regex/latest/regex/)