Cargo Features
[dependencies]
ubench = { version = "0.0.0-alpha0", default-features = false, features = ["all", "std", "unicode-width", "cortex-m", "riscv", "embedded-time", "metrics", "embedded-hal", "json", "reporters"] }
- default = embedded-hal, json
-
These default features are set whenever
ubench
is added without
somewhere in the dependency tree.default-features = false - all = metrics, reporters, std
- std all? = unicode-width
-
Gates both
Metric
andReporter
implsEnables supports-colors of owo-colors ^3.4, std of optional serde
- unicode-width std?
-
Enables unicode-width ^0.1
For better aligned output
- cortex-m metrics?
-
For
Metric
impls:Enables cortex-m
- riscv metrics?
-
Enables riscv ^0.8
- embedded-time metrics?
-
generic;
embedded-time::Clock
basedEnables embedded-time
- metrics all? = cortex-m, embedded-time, riscv
- embedded-hal default reporters?
-
For
Reporter
impls:Enables embedded-hal ^0.2 and nb
- json default reporters?
-
Enables serde
- reporters all? = embedded-hal, json