From 832262194f6bbc91b5819cad75a39881c0c4706b Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sun, 10 Nov 2024 21:20:19 +0900 Subject: [PATCH] misc: using workspace versioning and bumped version to 0.3.0 --- Cargo.lock | 6 +++--- Cargo.toml | 7 ++++++- driver-interface/Cargo.toml | 4 ++-- driver-standalone/Cargo.toml | 6 +++--- driver-uefi/Cargo.toml | 6 +++--- 5 files changed, 17 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 050a3a3..24630c4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -334,7 +334,7 @@ dependencies = [ [[package]] name = "driver-interface-kernel" -version = "0.1.0" +version = "0.3.0" dependencies = [ "anyhow", "obfstr", @@ -344,7 +344,7 @@ dependencies = [ [[package]] name = "driver-standalone" -version = "0.2.2" +version = "0.3.0" dependencies = [ "anyhow", "compiler_builtins", @@ -365,7 +365,7 @@ dependencies = [ [[package]] name = "driver-uefi" -version = "0.2.2" +version = "0.3.0" dependencies = [ "anyhow", "bindgen 0.69.4", diff --git a/Cargo.toml b/Cargo.toml index 03e56da..5c4a067 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,9 +16,14 @@ members = [ "driver", "driver-uefi", - "driver-standalone", "driver-interface", + "driver-standalone", + "driver-interface", ] +[workspace.package] +version = "0.3.0" +edition = "2021" + [profile.dev] # Opt-Level of 1 is required to keep stack size small. # Important as we only got 8k stack size and allocating all structs diff --git a/driver-interface/Cargo.toml b/driver-interface/Cargo.toml index fefa10a..87716c3 100644 --- a/driver-interface/Cargo.toml +++ b/driver-interface/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "driver-interface-kernel" -version = "0.1.0" -edition = "2021" description = "Valthrun Driver Interface for the Kernel Driver" +version.workspace = true +edition.workspace = true [lib] crate-type = ["cdylib"] diff --git a/driver-standalone/Cargo.toml b/driver-standalone/Cargo.toml index 35ae64a..dce13e9 100644 --- a/driver-standalone/Cargo.toml +++ b/driver-standalone/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "driver-standalone" -version = "0.2.2" -edition = "2021" +version.workspace = true +edition.workspace = true [lib] path = "src/lib.rs" @@ -19,7 +19,7 @@ kapi-kmodule = { version = "0.1.0", path = "../utils/kapi-kmodule" } kdef = { version = "0.1.0", path = "../utils/kdef" } seh = { version = "0.1.0", path = "../utils/seh" } utils-imports = { version = "0.1.0", path = "../utils/imports" } -driver = { version = "0.2.1", path = "../driver" } +driver = { path = "../driver" } kalloc = { version = "0.1.0", path = "../utils/kalloc" } utils-kernelbase = { version = "0.1.0", path = "../utils/kernelbase" } lazy_link = "0.1.1" diff --git a/driver-uefi/Cargo.toml b/driver-uefi/Cargo.toml index 323dfd9..f982077 100644 --- a/driver-uefi/Cargo.toml +++ b/driver-uefi/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "driver-uefi" -version = "0.2.2" -edition = "2021" +version.workspace = true +edition.workspace = true [lib] path = "src/lib.rs" @@ -22,7 +22,7 @@ kapi-kmodule = { version = "0.1.0", path = "../utils/kapi-kmodule" } kdef = { version = "0.1.0", path = "../utils/kdef" } seh = { version = "0.1.0", path = "../utils/seh" } utils-imports = { version = "0.1.0", path = "../utils/imports" } -driver = { version = "0.2.1", path = "../driver" } +driver = { path = "../driver" } kalloc = { version = "0.1.0", path = "../utils/kalloc" } utils-kernelbase = { version = "0.1.0", path = "../utils/kernelbase" } lazy_link = "0.1.1"