#sys

dirs-sys

System-level helper functions for the dirs and directories crates

7 releases

0.3.4 Jul 28, 2019
0.3.3 May 30, 2019
0.2.0 May 15, 2019
0.1.0 May 12, 2019
Download history 211/week @ 2019-05-12 64/week @ 2019-05-19 3162/week @ 2019-05-26 4180/week @ 2019-06-02 12407/week @ 2019-06-09 17150/week @ 2019-06-16 15683/week @ 2019-06-23 13291/week @ 2019-06-30 12516/week @ 2019-07-07 16732/week @ 2019-07-14 16176/week @ 2019-07-21

37,426 downloads per month
Used in 161 crates (3 directly)

MIT/Apache

19KB
346 lines

crates.io API documentation actively developed TravisCI status AppVeyor status License: MIT/Apache-2.0

dirs-sys

System-level helper functions for the dirs and directories crates.

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

Compatibility

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

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.

The minimal required version of Rust is 1.13.

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

~742KB