Cargo Features

[dependencies]
nate-common = { version = "0.1.10", default-features = false, features = ["std", "alloc", "docsrs"] }
default = alloc, std

These default features are set whenever nate-common is added without default-features = false somewhere in the dependency tree.

std default = alloc

disable #![no_std], implies alloc

alloc default std

enable features found in the alloc crate, e.g. std::io::Write

Affects nate-common::RenderInto.render_io, nate-common::RenderInto.render_string, nate-common::RenderInto.render_bytes

docsrs = document-features

Internal feature, used when generating docs. *You* are not supposed to enable this feature!

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

document-features docsrs?

Enables document-features =0.1.0

optional features: