Cargo Features

[dependencies]
ordcode = { version = "0.2.2", default-features = false, features = ["std"] }
default = serde, std

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

std default

Enables std of serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

Affects bytes_esc::deserialize_bytes_to_vec, bytes_esc::deserialize_bytes_noesc_to_vec, bytes_esc::deserialize_bytes_noesc_to_string, ordcode::ser_to_vec_ordered

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.

serde default std

Affects ordcode::calc_size, ordcode::calc_size_asc, ordcode::ser_to_buf_ordered, ordcode::ser_to_buf_asc_exact, ordcode::de_from_bytes_asc, ordcode::de_from_bytes_ordered, ordcode::new_ser_asc, ordcode::new_de_asc, ordcode::ser_to_vec_ordered