Cargo Features
coap-numbers has no features set by default.
[dependencies]
coap-numbers = { version = "0.2.4", features = ["alloc", "nightly_docs"] }
- alloc
-
Affects
code::to_dotted
… - nightly_docs
-
inspired by https://github.com/madsmtm/objc2/pull/195; can go away once https://github.com/rust-lang/rust/issues/43781 is stabilized -- but executed differently: to avoid the side effect a cfg(doc) has on tests (it'd run doctests for stuff not built), we just don't add a cfg(any(doc, feature = )) but stick with the normal cfg(feature = ) -- users who don't use nightly doc will just need to enable the features they enable, most will use docs.rs anyway