Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
src/ | H | 25-Apr-2025 | - | 2,524 | 1,913 | |
.cargo-checksum.json | H A D | 25-Apr-2025 | 771 | 1 | 1 | |
Cargo.toml | H A D | 25-Apr-2025 | 1.2 KiB | 50 | 43 | |
LICENSE-APACHE | H A D | 25-Apr-2025 | 10.6 KiB | 202 | 169 | |
LICENSE-MIT | H A D | 25-Apr-2025 | 1 KiB | 26 | 22 | |
README.md | H A D | 25-Apr-2025 | 1.3 KiB | 49 | 32 |
README.md
1# rustc-demangle 2 3Demangling for Rust symbols, written in Rust. 4 5[Documentation](https://docs.rs/rustc-demangle) 6 7## Usage 8 9You can add this as a dependency via your `Cargo.toml` 10 11```toml 12[dependencies] 13rustc-demangle = "0.1" 14``` 15 16and then be sure to check out the [crate 17documentation](https://docs.rs/rustc-demangle) for usage. 18 19## Usage from non-Rust languages 20 21You can also use this crate from other languages via the C API wrapper in the 22`crates/capi` directory. This can be build with: 23 24```sh 25$ cargo build -p rustc-demangle-capi --release 26``` 27 28You'll then find `target/release/librustc_demangle.a` and 29`target/release/librustc_demangle.so` (or a different name depending on your 30platform). These objects implement the interface specified in 31`crates/capi/include/rustc_demangle.h`. 32 33# License 34 35This project is licensed under either of 36 37 * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or 38 http://www.apache.org/licenses/LICENSE-2.0) 39 * MIT license ([LICENSE-MIT](LICENSE-MIT) or 40 http://opensource.org/licenses/MIT) 41 42at your option. 43 44### Contribution 45 46Unless you explicitly state otherwise, any contribution intentionally submitted 47for inclusion in rustc-demangle you, as defined in the Apache-2.0 license, shall 48be dual licensed as above, without any additional terms or conditions. 49