#directories #dirs #low-level #helper #functions #system-level #dirs-next

dirs-sys-next

system-level helper functions for the dirs and directories crates

3 releases

0.1.2 Jan 9, 2021
0.1.1 Oct 13, 2020
0.1.0 May 7, 2020
0.0.0 May 6, 2020

#641 in Filesystem

Download history 379990/week @ 2023-11-20 445299/week @ 2023-11-27 430103/week @ 2023-12-04 435719/week @ 2023-12-11 383436/week @ 2023-12-18 222776/week @ 2023-12-25 335815/week @ 2024-01-01 416012/week @ 2024-01-08 440252/week @ 2024-01-15 455058/week @ 2024-01-22 469995/week @ 2024-01-29 465488/week @ 2024-02-05 451819/week @ 2024-02-12 448215/week @ 2024-02-19 475822/week @ 2024-02-26 442293/week @ 2024-03-04

1,845,438 downloads per month
Used in 3,277 crates (3 directly)

MIT/Apache

21KB
355 lines

crates.io API documentation

dirs-sys-next

NOTE: This crate is a fork of once-abandoned dirs-sys crate.

Do not use this library directly, use dirs-next or directories-next.

Compatibility

This crate only exists to facilitate code sharing between dirs-next and directories-next.

There are no compatibility guarantees whatsoever. Functions may change or disappear without warning or any kind of deprecation period.

Platforms

This library is written in Rust, and supports Linux, Redox, macOS and Windows. Other platforms are also supported; they use the Linux conventions.

Minimum Rust version policy

The minimal required version of Rust is 1.34.0^.

We may bump the Rust version in major and minor releases (x/y in x.y.z). Changing the Rust version will be written in the CHANGELOG.

^ Except for Redox, where the Rust version depends on the redox_users crate.

Build

It's possible to cross-compile this library if the necessary toolchains are installed with rustup. This is helpful to ensure a change has not broken compilation on a different platform.

The following commands will build this library on Linux, macOS and Windows:

cargo build --target=x86_64-unknown-linux-gnu
cargo build --target=x86_64-pc-windows-gnu
cargo build --target=x86_64-apple-darwin
cargo build --target=x86_64-unknown-redox

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.4–485KB