Cargo Features
[dependencies]
assert_no_alloc = { version = "1.1.2", default-features = false, features = ["warn_debug", "warn_release", "disable_release"] }
- default = disable_release
-
The
disable_release
feature is set by default wheneverassert_no_alloc
is added without
somewhere in the dependency tree.default-features = false - warn_debug
-
Affects
assert_no_alloc::violation_count
,assert_no_alloc::reset_violation_count
… - warn_release
-
Affects
assert_no_alloc::violation_count
,assert_no_alloc::reset_violation_count
… - disable_release default
-
Affects
assert_no_alloc::assert_no_alloc
,assert_no_alloc::permit_alloc
…