Cargo Features
[dependencies]
g-code = { version = "0.5.1", default-features = false, features = ["serde", "binary", "codespan_helpers"] }
- default = binary, codespan_helpers
-
These default features are set whenever
g-code
is added without
somewhere in the dependency tree.default-features = false - serde
-
Enables serde, serde of rust_decimal
- binary default
-
Enables nom
Affects
emit::compact
,parse::compact
… - codespan_helpers default = codespan, codespan-reporting
-
Affects
parse::Diagnostic
,parse::into_diagnostic
…
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.