Skip to content

Commit 54c787e

Browse files
committed
Add license fields to all crates.
1 parent 36b0d7e commit 54c787e

File tree

74 files changed

+74
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+74
-0
lines changed

compiler/rustc/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc-main"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = '2018'
67

78
[[bin]]

compiler/rustc_apfloat/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_apfloat"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[dependencies]

compiler/rustc_arena/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_arena"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[dependencies]

compiler/rustc_ast/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_ast"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_ast_lowering/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_ast_lowering"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_ast_passes/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_ast_passes"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[dependencies]

compiler/rustc_ast_pretty/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_ast_pretty"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_attr/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_attr"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_builtin_macros/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_builtin_macros"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_codegen_llvm/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_codegen_llvm"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_codegen_ssa/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_codegen_ssa"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_data_structures/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_data_structures"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_driver/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_driver"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_error_codes/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_error_codes"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"

compiler/rustc_errors/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_errors"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_expand/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_expand"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67
build = false
78

compiler/rustc_feature/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_feature"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_fs_util/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_fs_util"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"

compiler/rustc_graphviz/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_graphviz"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"

compiler/rustc_hir/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_hir"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_hir_pretty/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_hir_pretty"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_incremental/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_incremental"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_index/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_index"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_infer/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_infer"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_interface/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_interface"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_lint/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_lint"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[dependencies]

compiler/rustc_macros/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "rustc_macros"
33
version = "0.1.0"
44
authors = ["The Rust Project Developers"]
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_metadata/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_metadata"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_middle/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_middle"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_mir/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_mir"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_mir_build/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_mir_build"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_parse/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_parse"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_parse_format/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_parse_format"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[dependencies]

compiler/rustc_passes/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_passes"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[dependencies]

compiler/rustc_plugin_impl/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_plugin_impl"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
build = false
67
edition = "2018"
78

compiler/rustc_privacy/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_privacy"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[dependencies]

compiler/rustc_query_system/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_query_system"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_resolve/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_resolve"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_save_analysis/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_save_analysis"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[dependencies]

compiler/rustc_serialize/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_serialize"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[dependencies]

compiler/rustc_session/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_session"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[dependencies]

compiler/rustc_span/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_span"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_symbol_mangling/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_symbol_mangling"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_target/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_target"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[dependencies]

compiler/rustc_trait_selection/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_trait_selection"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

compiler/rustc_traits/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_traits"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[dependencies]

compiler/rustc_ty/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_ty"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[dependencies]

compiler/rustc_typeck/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "rustc_typeck"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
edition = "2018"
67

78
[lib]

library/alloc/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "alloc"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
autotests = false
67
autobenches = false
78
edition = "2018"

library/core/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "core"
44
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
56
autotests = false
67
autobenches = false
78
edition = "2018"

0 commit comments

Comments
 (0)