Cargo Features

[dependencies]
p1689 = { version = "0.0.0", default-features = false, features = ["alloc", "full", "builders", "debug", "deserialize", "extra_traits", "memchr", "monostate", "serde", "serialize", "winnow", "arbitrary"] }
default full? = alloc, std

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

std alloc default
full = arbitrary, builders, default, deserialize, extra_traits, memchr, monostate, serde, serialize, winnow
builders full?

Affects r5::builders

debug

Enables debug of optional winnow

deserialize full?

Enables derive of optional serde

Affects serde::CowUtf8Path, serde::DepInfoUniqueOutputs

extra_traits full? serde?
memchr full? winnow?

Enables memchr

monostate full? serde?

Enables monostate

serde full? = extra_traits, monostate

Enables cfg_eval, serde, serde1 of camino, serde of indexmap and indexmap_2 of serde_with

serde_with:

The feature enables implementations of indexmap v2 specific checks. This includes support for checking duplicate keys and duplicate values.

This pulls in indexmap v2 as a dependency. It enables the alloc feature. Some functionality is only available when std is enabled too.

Affects r5::serde

serialize full?

Enables derive of optional serde

serde:

Provide derive(Serialize, Deserialize) macros.

Affects serde::CowUtf8Path, serde::DepInfoUniqueOutputs

winnow full? = memchr

Enables winnow

Affects p1689::r5.parsers, r5::winnow, util::u32.ascii_to_hexdigit

arbitrary full?

Enables arbitrary of indexmap and derive of arbitrary

arbitrary:

Turn this feature on to enable support for #[derive(Arbitrary)].

Affects r5::arbitrary