Skip to content

Use SPDX license format and update URLs and formatting #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
name = "rustc-demangle"
version = "0.1.21"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT/Apache-2.0"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/alexcrichton/rustc-demangle"
homepage = "https://github.com/alexcrichton/rustc-demangle"
repository = "https://github.com/rust-lang/rustc-demangle"
homepage = "https://github.com/rust-lang/rustc-demangle"
documentation = "https://docs.rs/rustc-demangle"
description = """
Rust compiler symbol demangling.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Demangling for Rust symbols, written in Rust.

## Usage

You can add this as a dependency via your `Cargo.toml`
You can add this as a dependency via your `Cargo.toml`:

```toml
[dependencies]
Expand All @@ -19,7 +19,7 @@ documentation](https://docs.rs/rustc-demangle) for usage.
## Usage from non-Rust languages

You can also use this crate from other languages via the C API wrapper in the
`crates/capi` directory. This can be build with:
`crates/capi` directory. This can be built with:

```sh
$ cargo build -p rustc-demangle-capi --release
Expand All @@ -35,9 +35,9 @@ platform). These objects implement the interface specified in
This project is licensed under either of

* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
https://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
http://opensource.org/licenses/MIT)
https://opensource.org/licenses/MIT)

at your option.

Expand Down
4 changes: 2 additions & 2 deletions crates/capi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ authors = ["Torste Aikio <zokier@gmail.com>"]
description = """
C API for the `rustc-demangle` crate
"""
license = "MIT/Apache-2.0"
repository = "https://github.com/alexcrichton/rustc-demangle"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/rustc-demangle"

[lib]
name = "rustc_demangle"
Expand Down
2 changes: 1 addition & 1 deletion src/v0.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,7 @@ mod tests {

#[test]
fn demangle_extra_suffix() {
// From alexcrichton/rustc-demangle#27:
// From rust-lang/rustc-demangle#27:
t_nohash!(
"_RNvNtNtNtNtCs92dm3009vxr_4rand4rngs7adapter9reseeding4fork23FORK_HANDLER_REGISTERED.0.0",
"rand::rngs::adapter::reseeding::fork::FORK_HANDLER_REGISTERED.0.0"
Expand Down