Cargo Features

[dependencies]
iri-string = { version = "0.7.7", default-features = false, features = ["alloc", "std", "memchr", "serde"] }
default = std

Default features.

alloc std

Enable features that requires alloc.

Enables alloc of optional serde

Affects format::try_append_to_string, format::ToStringFallible, format::ToDedicatedString, error::CreationError, template::simple_context, iri::IriAbsoluteString, iri::IriFragmentString, iri::IriString, iri::IriReferenceString, iri::IriRelativeString, iri::IriQueryString, uri::UriAbsoluteString, uri::UriFragmentString, uri::UriString, uri::UriReferenceString, uri::UriRelativeString, uri::UriQueryString

std default = alloc

Enable features that requires std.

Enables std of optional memchr and optional serde

Features from optional dependencies

memchr implicit feature
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework