Cargo Features

[dependencies]
foundation-ur = { version = "0.4.0", default-features = false, features = ["std", "alloc"] }
default = std

The std feature is set by default whenever foundation-ur is added without default-features = false somewhere in the dependency tree.

std default = alloc
alloc std

Enables alloc of minicbor ^0.24

Affects bytewords::decode, bytewords::encode, chooser::FragmentChooser, chooser::Alloc, decoder::Decoder, decoder::Alloc, encoder::Encoder, encoder::Alloc, sampler::Weighted, sampler::Alloc, decoder::Decoder, decoder::Alloc, encoder::Encoder, ur::to_string