Cargo Features

[dependencies]
g-code = { version = "0.4.2", default-features = false, features = ["codespan_helpers", "serde"] }
default = codespan_helpers

The codespan_helpers feature is set by default whenever g-code is added without default-features = false somewhere in the dependency tree.

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
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework