Cargo Features

[dependencies]
models-parser = { version = "0.2.0", default-features = false, features = ["std", "json_example", "bigdecimal"] }
default = std

The std feature is set by default whenever models-parser is added without default-features = false somewhere in the dependency tree.

std default
json_example = serde, serde_json

Enable JSON output in the cli example:

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.

bigdecimal implicit feature

Enables bigdecimal ^0.3

bigdecimal:

Arbitrary precision decimal numbers

serde json_example?
serde_json json_example?

Enables serde_json

serde_json is only used in examples/cli, but we have to put it outside of dev-dependencies because of https://github.com/rust-lang/cargo/issues/1596