From ced92f3a440556a4966eed990bd23e1cd2201aff Mon Sep 17 00:00:00 2001 From: hkrn <129939+hkrn@users.noreply.github.com> Date: Fri, 22 Mar 2024 22:47:10 +0900 Subject: [PATCH] [rust] aggregates package metadata to workspace --- rust/Cargo.toml | 7 +++++++ rust/plugin_wasm/Cargo.toml | 8 ++++---- rust/plugin_wasm_test_model_full/Cargo.toml | 8 ++++---- rust/plugin_wasm_test_model_minimum/Cargo.toml | 8 ++++---- rust/plugin_wasm_test_motion_full/Cargo.toml | 8 ++++---- rust/plugin_wasm_test_motion_minimum/Cargo.toml | 8 ++++---- 6 files changed, 27 insertions(+), 20 deletions(-) diff --git a/rust/Cargo.toml b/rust/Cargo.toml index c8be8a3f..e0a57873 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -10,6 +10,13 @@ members = [ ] default-members = ["plugin_wasm"] +[workspace.package] +authors = ["hkrn <129939+hkrn@users.noreply.github.com>"] +edition = "2021" +license = "MPL-2.0" +rust-version = "1.74" +version = "35.0.0" + [workspace.dependencies] serde = { version = "1", features = ["derive"] } serde_json = "1" diff --git a/rust/plugin_wasm/Cargo.toml b/rust/plugin_wasm/Cargo.toml index f098ad98..35d6cbd7 100644 --- a/rust/plugin_wasm/Cargo.toml +++ b/rust/plugin_wasm/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "plugin_wasm" -version = "35.0.0" -authors = ["hkrn <129939+hkrn@users.noreply.github.com>"] -edition = "2021" -license = "MPL-2.0" +authors.workspace = true +edition.workspace = true +license.workspace = true +version.workspace = true [dependencies] anyhow = "1" diff --git a/rust/plugin_wasm_test_model_full/Cargo.toml b/rust/plugin_wasm_test_model_full/Cargo.toml index 51890efd..75ecc648 100644 --- a/rust/plugin_wasm_test_model_full/Cargo.toml +++ b/rust/plugin_wasm_test_model_full/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "plugin_wasm_test_model_full" -version = "35.0.0" -authors = ["hkrn <129939+hkrn@users.noreply.github.com>"] -edition = "2021" -license = "MIT OR Apache-2.0" +authors.workspace = true +edition.workspace = true +license.workspace = true +version.workspace = true [lib] path = "src/lib.rs" diff --git a/rust/plugin_wasm_test_model_minimum/Cargo.toml b/rust/plugin_wasm_test_model_minimum/Cargo.toml index a822b7a3..f6aac4ee 100644 --- a/rust/plugin_wasm_test_model_minimum/Cargo.toml +++ b/rust/plugin_wasm_test_model_minimum/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "plugin_wasm_test_model_minimum" -version = "35.0.0" -authors = ["hkrn <129939+hkrn@users.noreply.github.com>"] -edition = "2021" -license = "MIT OR Apache-2.0" +authors.workspace = true +edition.workspace = true +license.workspace = true +version.workspace = true [lib] path = "src/lib.rs" diff --git a/rust/plugin_wasm_test_motion_full/Cargo.toml b/rust/plugin_wasm_test_motion_full/Cargo.toml index 0cd31cb9..594dbf2a 100644 --- a/rust/plugin_wasm_test_motion_full/Cargo.toml +++ b/rust/plugin_wasm_test_motion_full/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "plugin_wasm_test_motion_full" -version = "35.0.0" -authors = ["hkrn <129939+hkrn@users.noreply.github.com>"] -edition = "2021" -license = "MIT OR Apache-2.0" +authors.workspace = true +edition.workspace = true +license.workspace = true +version.workspace = true [lib] path = "src/lib.rs" diff --git a/rust/plugin_wasm_test_motion_minimum/Cargo.toml b/rust/plugin_wasm_test_motion_minimum/Cargo.toml index 8294a82f..cbdf39ef 100644 --- a/rust/plugin_wasm_test_motion_minimum/Cargo.toml +++ b/rust/plugin_wasm_test_motion_minimum/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "plugin_wasm_test_motion_minimum" -version = "35.0.0" -authors = ["hkrn <129939+hkrn@users.noreply.github.com>"] -edition = "2021" -license = "MIT OR Apache-2.0" +authors.workspace = true +edition.workspace = true +license.workspace = true +version.workspace = true [lib] path = "src/lib.rs"