dirs-sys

Crates.iodirs-sys
lib.rsdirs-sys
version0.4.1
sourcesrc
created_at2019-05-12 20:19:45.913839
updated_at2023-04-30 21:46:08.792949
descriptionSystem-level helper functions for the dirs and directories crates.
homepage
repositoryhttps://github.com/dirs-dev/dirs-sys-rs
max_upload_size
id133850
size32,909
(soc)

documentation

README

crates.io API documentation actively developed 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.

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.

Commit count: 26

cargo fmt