Skip to content
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

Add license fields to all crates. #73530

Closed
wants to merge 1 commit into from
Closed
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
1 change: 1 addition & 0 deletions compiler/rustc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc-main"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = '2018'

[[bin]]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_apfloat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_apfloat"
version = "0.0.0"
license = "MIT OR Apache-2.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be MIT OR Apache-2.0? It was fairly straightforwardly ported from the LLVM apfloat library. Maybe Apache 2.0 with llvm exception instead? SPDX License Identifier: "Apache-2.0 WITH LLVM-exception" according to https://llvm.org/foundation/relicensing/ .

edition = "2018"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_arena/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_arena"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_ast"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_ast_lowering/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_ast_lowering"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_ast_passes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_ast_passes"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_ast_pretty/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_ast_pretty"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_attr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_attr"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_builtin_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_builtin_macros"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_codegen_llvm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_codegen_llvm"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_codegen_ssa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_codegen_ssa"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_data_structures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_data_structures"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_driver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_driver"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_error_codes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
authors = ["The Rust Project Developers"]
name = "rustc_error_codes"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"
1 change: 1 addition & 0 deletions compiler/rustc_errors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_errors"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_expand/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_expand"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"
build = false

Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_feature/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_feature"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_fs_util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
authors = ["The Rust Project Developers"]
name = "rustc_fs_util"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"
1 change: 1 addition & 0 deletions compiler/rustc_graphviz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
authors = ["The Rust Project Developers"]
name = "rustc_graphviz"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"
1 change: 1 addition & 0 deletions compiler/rustc_hir/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_hir"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_hir_pretty/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_hir_pretty"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_incremental/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_incremental"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_index/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_index"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_infer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_infer"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_interface"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_lint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_lint"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "rustc_macros"
version = "0.1.0"
authors = ["The Rust Project Developers"]
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_metadata/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_metadata"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_middle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_middle"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_mir/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_mir"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_mir_build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_mir_build"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_parse/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_parse"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_parse_format/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_parse_format"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_passes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_passes"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_plugin_impl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_plugin_impl"
version = "0.0.0"
license = "MIT OR Apache-2.0"
build = false
edition = "2018"

Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_privacy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_privacy"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_query_system/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_query_system"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_resolve/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_resolve"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_save_analysis/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_save_analysis"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_serialize/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_serialize"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_session/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_session"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_span/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_span"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_symbol_mangling/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_symbol_mangling"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_target/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_target"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_trait_selection/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_trait_selection"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_traits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_traits"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_ty/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_ty"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_typeck/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_typeck"
version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2018"

[lib]
Expand Down
1 change: 1 addition & 0 deletions library/alloc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "alloc"
version = "0.0.0"
license = "MIT OR Apache-2.0"
autotests = false
autobenches = false
edition = "2018"
Expand Down
1 change: 1 addition & 0 deletions library/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "core"
version = "0.0.0"
license = "MIT OR Apache-2.0"
autotests = false
autobenches = false
edition = "2018"
Expand Down
Loading