Debian Codegraph @

README.md

raw symbols SCIP
1 [![crates.io](https://img.shields.io/crates/v/dirs-sys.svg?style=for-the-badge)](https://crates.io/crates/dirs-sys)
2 [![API documentation](https://img.shields.io/docsrs/dirs-sys/latest?style=for-the-badge)](https://docs.rs/dirs-sys/)
3 ![as-is](https://img.shields.io/badge/maintenance-as--is-yellow.svg?style=for-the-badge)
4
5 # `dirs-sys`
6
7 System-level helper functions for the [`dirs`](https://github.com/dirs-dev/dirs-rs)
8 and [`directories`](https://github.com/dirs-dev/directories-rs) crates.
9
10 _Do not use this library directly, use [`dirs`](https://github.com/dirs-dev/dirs-rs)
11 or [`directories`](https://github.com/dirs-dev/directories-rs)._
12
13 ## Compatibility
14
15 This crate only exists to facilitate code sharing between [`dirs`](https://github.com/dirs-dev/dirs-rs)
16 and [`directories`](https://github.com/dirs-dev/directories-rs).
17
18 There are no compatibility guarantees whatsoever.
19 Functions may change or disappear without warning or any kind of deprecation period.
20
21 ## Platforms
22
23 This library is written in Rust, and supports Linux, Redox, macOS and Windows.
24 Other platforms are also supported; they use the Linux conventions.
25
26 ## Build
27
28 It's possible to cross-compile this library if the necessary toolchains are installed with rustup.
29 This is helpful to ensure a change has not broken compilation on a different platform.
30
31 The following commands will build this library on Linux, macOS and Windows:
32
33 ```
34 cargo build --target=x86_64-unknown-linux-gnu
35 cargo build --target=x86_64-pc-windows-gnu
36 cargo build --target=x86_64-apple-darwin
37 cargo build --target=x86_64-unknown-redox
38 ```
39
40 ## License
41
42 Licensed under either of
43
44 * Apache License, Version 2.0
45 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
46 * MIT license
47 ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
48
49 at your option.