Cargo Features

fallible_collections = { version = "0.4.9", default-features = false, features = ["unstable", "std_io", "std", "hashmap", "rust_1_57"] }
default = hashmap

The hashmap feature is set by default whenever fallible_collections is added without default-features = false somewhere in the dependency tree.


Enable on nightly builds to allow use of unstable features

Affects fallible_collections::btree, vec::try_from_elem

std_io = std

Functionality based on std::io types

Affects vec::std_io

std std_io?

Allow use of std

hashmap default = hashbrown

Allow use of hashmap

Affects fallible_collections::hashmap


Use fallible functions added in Rust 1.57

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

hashbrown hashmap

Enables default features of hashbrown ^0.13