Cargo Features
[dependencies]
tracing-bunyan-formatter = { version = "0.3.10", default-features = false, features = ["arbitrary-precision", "valuable", "hostname"] }
- default = hostname
-
The
hostname
feature is set by default whenevertracing-bunyan-formatter
is added without
somewhere in the dependency tree.default-features = false - arbitrary-precision
-
Enables arbitrary_precision of serde_json
serde_json:
Use an arbitrary precision number representation for serde_json::Number. This allows JSON numbers of arbitrary size/precision to be read into a Number and written back to a JSON string without loss of precision.
Unlike float_roundtrip, this feature makes JSON -> serde_json::Number -> JSON produce output identical to the input. - valuable
-
Enables valuable and valuable-serde, valuable of tracing
- hostname default = gethostname
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.
- gethostname hostname
-
Enables gethostname ^0.2.1