scx_rustland_core: bump up major version to 2.0.0

The scx_rustland_core API has been redesigned recently, breaking the
compatibility with the past.

Considering that Rust crates should update their major version when the
previous API becomes incompatible [1], bump up the version to 2.0.0.

[1] https://semver.org/

Signed-off-by: Andrea Righi <andrea.righi@linux.dev>
This commit is contained in:
Andrea Righi 2024-08-31 23:18:11 +02:00
parent 63a2eecce8
commit 0aa71c832b
4 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "scx_rustland_core" name = "scx_rustland_core"
version = "1.0.3" version = "2.0.0"
edition = "2021" edition = "2021"
authors = ["Andrea Righi <andrea.righi@linux.dev>"] authors = ["Andrea Righi <andrea.righi@linux.dev>"]
license = "GPL-2.0-only" license = "GPL-2.0-only"

View File

@ -1227,7 +1227,7 @@ dependencies = [
[[package]] [[package]]
name = "scx_rustland_core" name = "scx_rustland_core"
version = "1.0.3" version = "2.0.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"libbpf-rs", "libbpf-rs",

View File

@ -13,11 +13,11 @@ ctrlc = { version = "3.1", features = ["termination"] }
libbpf-rs = "0.24.1" libbpf-rs = "0.24.1"
libc = "0.2.137" libc = "0.2.137"
scx_utils = { path = "../../../rust/scx_utils", version = "1.0.3" } scx_utils = { path = "../../../rust/scx_utils", version = "1.0.3" }
scx_rustland_core = { path = "../../../rust/scx_rustland_core", version = "1.0.3" } scx_rustland_core = { path = "../../../rust/scx_rustland_core", version = "2.0.0" }
[build-dependencies] [build-dependencies]
scx_utils = { path = "../../../rust/scx_utils", version = "1.0.3" } scx_utils = { path = "../../../rust/scx_utils", version = "1.0.3" }
scx_rustland_core = { path = "../../../rust/scx_rustland_core", version = "1.0.3" } scx_rustland_core = { path = "../../../rust/scx_rustland_core", version = "2.0.0" }
[features] [features]
enable_backtrace = [] enable_backtrace = []

View File

@ -20,12 +20,12 @@ serde = { version = "1.0", features = ["derive"] }
scx_stats = { path = "../../../rust/scx_stats", version = "1.0.3" } scx_stats = { path = "../../../rust/scx_stats", version = "1.0.3" }
scx_stats_derive = { path = "../../../rust/scx_stats/scx_stats_derive", version = "1.0.3" } scx_stats_derive = { path = "../../../rust/scx_stats/scx_stats_derive", version = "1.0.3" }
scx_utils = { path = "../../../rust/scx_utils", version = "1.0.3" } scx_utils = { path = "../../../rust/scx_utils", version = "1.0.3" }
scx_rustland_core = { path = "../../../rust/scx_rustland_core", version = "1.0.3" } scx_rustland_core = { path = "../../../rust/scx_rustland_core", version = "2.0.0" }
simplelog = "0.12" simplelog = "0.12"
[build-dependencies] [build-dependencies]
scx_utils = { path = "../../../rust/scx_utils", version = "1.0.3" } scx_utils = { path = "../../../rust/scx_utils", version = "1.0.3" }
scx_rustland_core = { path = "../../../rust/scx_rustland_core", version = "1.0.3" } scx_rustland_core = { path = "../../../rust/scx_rustland_core", version = "2.0.0" }
[features] [features]
enable_backtrace = [] enable_backtrace = []