Crate features / relative-path
Feature flags · relative-path 2.0.3 · from crates.io 2026-10-24
relative-path features: what each one does, and the line to copy
Short answerrelative-path 2.0.3 has 4 features. By default it turns on std, alloc; add default-features = false to start from nothing. It needs Rust 1.85 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | yes | serde_core?/alloc |
musli02 | dep:musli-core02 | |
serde | dep:serde_core | |
std | yes | nothing else (a switch the code checks) |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version relative-path declares (rust-version), and the release that changed it:
- 1.8.0 (2023-03-05): Rust 1.56
- 1.9.1 (2023-12-26): Rust 1.66
- 2.0.2 (2026-10-07): Rust 1.71
- 2.0.3 (2026-10-21): Rust 1.85
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p relative-path --precise <version>, or use resolver 3, which picks compatible versions for you.
More on relative-path
Real downloads, dependents and alternatives: relative-path crate data (343K real downloads a day, 140 dependents).
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021
Up next
Before you depend on itrelative-path crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?