Skip to content

Commit bc87185

Browse files
committed
lib: inherit edition, license and repo from workspace
Signed-off-by: zhujunxing <zjx1319@hust.edu.cn>
1 parent 5e7fc77 commit bc87185

File tree

5 files changed

+21
-4
lines changed

5 files changed

+21
-4
lines changed

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ members = [
77
"sophgo-rom-tool",
88
"examples/hello-world",
99
]
10+
11+
[workspace.package]
12+
edition = "2021"
13+
license = "MulanPSL-2.0 OR MIT"
14+
repository = "https://github.com/rustsbi/sophgo-hal"

examples/hello-world/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
22
name = "hello-world"
33
version = "0.1.0"
4-
edition = "2021"
4+
5+
edition.workspace = true
6+
license.workspace = true
7+
repository.workspace = true
58

69
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
710

sophgo-hal/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
22
name = "sophgo-hal"
33
version = "0.0.0"
4-
edition = "2021"
4+
5+
edition.workspace = true
6+
license.workspace = true
7+
repository.workspace = true
58

69
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
710

sophgo-rom-rt/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
22
name = "sophgo-rom-rt"
33
version = "0.0.0"
4-
edition = "2021"
4+
5+
edition.workspace = true
6+
license.workspace = true
7+
repository.workspace = true
58

69
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
710

sophgo-rom-tool/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
22
name = "sophgo-rom-tool"
33
version = "0.1.0"
4-
edition = "2021"
4+
5+
edition.workspace = true
6+
license.workspace = true
7+
repository.workspace = true
58

69
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
710

0 commit comments

Comments
 (0)