Cargo Features
always-assert has no features set by default.
[dependencies]
always-assert = { version = "0.2.0", features = ["force", "tracing"] }
-
force
-
Escalate assertion failure to panic even if debug_assertions
are not set.
Features from optional dependencies
-
tracing
implicit feature
-
Enables
tracing
Enable tracing
feature to log assertion failures.