Cargo Features

[dependencies]
unix_path = { version = "1.0.1", default-features = false, features = ["std", "alloc", "shrink_to", "serde"] }
default = std

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

std default = alloc

Enables std of unix_str

alloc std

Enables alloc of unix_str

Affects unix_path::PathBuf

shrink_to

Enables shrink_to of unix_str

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework