Cargo Features
TPS_MINICBOR has no features set by default.
[dependencies]
tps_minicbor = { version = "0.5.1", features = ["full", "trace", "tags", "std", "float"] }
tps_minicbor can be built in the following variants:
- default: (no_std) No allocator or standard library required. Logging, standard tags
not allowed as a consequence since these require an allocator.
- full: (std) Requires standard library. Optionally supports logging, indefinite length messaging and a
higher-level API which can be easier to use.
- float: (no_std) Support floats in addition to default features
- full = float, std, tags
-
Affects
ast::CBOR
,decode_combinators::is_date_time
,decode_combinators::is_epoch
,tps_minicbor::debug
… - trace = std
-
Perform tracing on function entry/exit (for debug). Requires std
-
Support standardized tags
Enables chrono
Dual-licensed, MIT or Apache-2.0
- std full? trace?
-
Standard library available
- float full?
-
Support floating point operations
Affects
ast::CBOR
,constants::MT_FLOAT
…
Features from optional dependencies
Where dependencies are dual-licensed, this project uses the MIT license