dirs-sys-next

Crates.iodirs-sys-next
lib.rsdirs-sys-next
version0.1.2
sourcesrc
created_at2020-05-06 15:47:35.608863
updated_at2021-01-09 05:59:36.540586
descriptionsystem-level helper functions for the dirs and directories crates
homepage
repositoryhttps://github.com/xdg-rs/dirs/tree/master/dirs-sys
max_upload_size
id238232
size32,357
Nathan McCarty (nmccarty)

documentation

README

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.

Commit count: 205

cargo fmt