Skip to content

Commit ec57875

Browse files
committed
Put the license in the workspace
1 parent dd926e6 commit ec57875

5 files changed

Lines changed: 5 additions & 4 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[workspace.package]
22
edition = "2021"
33
rust-version = "1.71"
4+
license = "MIT OR Apache-2.0"
45

56
[workspace]
67
resolver = "2"

cpp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition.workspace = true
66
rust-version.workspace = true
77
description = "Inline C++ code closures"
88
readme = "../README.md"
9-
license = "MIT/Apache-2.0"
9+
license.workspace = true
1010
keywords = ["c", "cxx", "ffi", "compiler"]
1111
categories = ["development-tools::ffi"]
1212
repository = "https://github.com/mystor/rust-cpp"

cpp_build/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition.workspace = true
66
rust-version.workspace = true
77
description = "Cargo build script for the `cpp` crate"
88
readme = "../README.md"
9-
license = "MIT/Apache-2.0"
9+
license.workspace = true
1010
keywords = ["c", "cxx", "ffi", "compiler", "build-dependencies"]
1111
categories = ["development-tools::ffi"]
1212
repository = "https://github.com/mystor/rust-cpp"

cpp_common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition.workspace = true
66
rust-version.workspace = true
77
description = "Implementation details crate for the `cpp` crate"
88
readme = "../README.md"
9-
license = "MIT/Apache-2.0"
9+
license.workspace = true
1010
keywords = ["c", "cxx", "ffi", "compiler", "build-dependencies"]
1111
categories = ["development-tools::ffi"]
1212
repository = "https://github.com/mystor/rust-cpp"

cpp_macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition.workspace = true
66
rust-version.workspace = true
77
description = "Procedural macro implementation for the `cpp` crate"
88
readme = "../README.md"
9-
license = "MIT/Apache-2.0"
9+
license.workspace = true
1010
keywords = ["c", "cxx", "ffi", "compiler"]
1111
categories = ["development-tools::ffi"]
1212
repository = "https://github.com/mystor/rust-cpp"

0 commit comments

Comments
 (0)