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 default-features = false somewhere in the dependency tree.

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.

codespan codespan_helpers
codespan-reporting codespan_helpers