• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..15-Mar-2021-

src/H15-Mar-2021-441346

.cargo-checksum.jsonH A D15-Mar-2021582 11

Cargo.tomlH A D15-Mar-20211.1 KiB3028

LICENSE-APACHEH A D15-Mar-20219.5 KiB175149

LICENSE-MITH A D15-Mar-20211 KiB2016

README.mdH A D15-Mar-20212.4 KiB6141

README.md

1[![crates.io](https://img.shields.io/crates/v/dirs-sys.svg)](https://crates.io/crates/dirs-sys)
2[![API documentation](https://docs.rs/dirs-sys/badge.svg)](https://docs.rs/dirs-sys/)
3![actively developed](https://img.shields.io/badge/maintenance-as--is-yellow.svg)
4[![TravisCI status](https://img.shields.io/travis/soc/dirs-sys-rs/master.svg?label=Linux/macOS%20build)](https://travis-ci.org/soc/dirs-sys-rs)
5[![AppVeyor status](https://img.shields.io/appveyor/ci/soc/dirs-sys-rs/master.svg?label=Windows%20build)](https://ci.appveyor.com/project/soc/dirs-sys-rs/branch/master)
6![License: MIT/Apache-2.0](https://img.shields.io/badge/license-MIT%2FApache--2.0-orange.svg)
7
8# `dirs-sys`
9
10System-level helper functions for the [`dirs`](https://github.com/soc/dirs-rs)
11and [`directories`](https://github.com/soc/directories-rs) crates.
12
13_Do not use this library directly, use [`dirs`](https://github.com/soc/dirs-rs)
14or [`directories`](https://github.com/soc/directories-rs)._
15
16## Compatibility
17
18This crate only exists to facilitate code sharing between [`dirs`](https://github.com/soc/dirs-rs)
19and [`directories`](https://github.com/soc/directories-rs).
20
21There are no compatibility guarantees whatsoever.
22Functions may change or disappear without warning or any kind of deprecation period.
23
24## Platforms
25
26This library is written in Rust, and supports Linux, Redox, macOS and Windows.
27Other platforms are also supported; they use the Linux conventions.
28
29The minimal required version of Rust is 1.13.
30
31## Build
32
33It's possible to cross-compile this library if the necessary toolchains are installed with rustup.
34This is helpful to ensure a change has not broken compilation on a different platform.
35
36The following commands will build this library on Linux, macOS and Windows:
37
38```
39cargo build --target=x86_64-unknown-linux-gnu
40cargo build --target=x86_64-pc-windows-gnu
41cargo build --target=x86_64-apple-darwin
42cargo build --target=x86_64-unknown-redox
43```
44
45## License
46
47Licensed under either of
48
49 * Apache License, Version 2.0
50   ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
51 * MIT license
52   ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
53
54at your option.
55
56## Contribution
57
58Unless you explicitly state otherwise, any contribution intentionally submitted
59for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
60dual licensed as above, without any additional terms or conditions.
61