diff --git a/Cargo.lock b/Cargo.lock index d29d15d0a9a..e88fbe02bfe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1944,7 +1944,7 @@ dependencies = [ [[package]] name = "darwin-kperf" -version = "0.1.0" +version = "0.1.1" dependencies = [ "darwin-kperf-events", "darwin-kperf-sys", @@ -1952,7 +1952,7 @@ dependencies = [ [[package]] name = "darwin-kperf-codegen" -version = "0.1.0" +version = "0.1.1" dependencies = [ "convert_case 0.11.0", "plist", @@ -1965,7 +1965,7 @@ dependencies = [ [[package]] name = "darwin-kperf-criterion" -version = "0.1.0" +version = "0.1.1" dependencies = [ "codspeed-criterion-compat-walltime", "criterion", @@ -1975,11 +1975,11 @@ dependencies = [ [[package]] name = "darwin-kperf-events" -version = "0.1.0" +version = "0.1.1" [[package]] name = "darwin-kperf-sys" -version = "0.1.0" +version = "0.1.1" [[package]] name = "dashu-base" diff --git a/Cargo.toml b/Cargo.toml index 6c9060ef490..1b028b88933 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,10 +59,10 @@ version = "0.0.0" [workspace.dependencies] # Workspace members -darwin-kperf.path = "libs/darwin-kperf" -darwin-kperf-criterion.path = "libs/darwin-kperf/criterion" -darwin-kperf-events.path = "libs/darwin-kperf/events" -darwin-kperf-sys.path = "libs/darwin-kperf/sys" +darwin-kperf = { path = "libs/darwin-kperf", version = "0.1.1" } +darwin-kperf-criterion = { path = "libs/darwin-kperf/criterion", version = "0.1.1" } +darwin-kperf-events = { path = "libs/darwin-kperf/events", version = "0.1.1" } +darwin-kperf-sys = { path = "libs/darwin-kperf/sys", version = "0.1.1" } error-stack = { path = "./libs/error-stack", default-features = false } harpc-client.path = "libs/@local/harpc/client/rust" harpc-codec.path = "libs/@local/harpc/codec" diff --git a/libs/darwin-kperf/Cargo.toml b/libs/darwin-kperf/Cargo.toml index c6a767ad74d..b3dc884c5c3 100644 --- a/libs/darwin-kperf/Cargo.toml +++ b/libs/darwin-kperf/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "darwin-kperf" -version = "0.1.0" +version = "0.1.1" authors.workspace = true edition.workspace = true license = "MIT OR Apache-2.0" diff --git a/libs/darwin-kperf/README.md b/libs/darwin-kperf/README.md index f473ce924de..33df4ab0245 100644 --- a/libs/darwin-kperf/README.md +++ b/libs/darwin-kperf/README.md @@ -19,10 +19,10 @@ | Crate | Description | | --- | --- | -| [`darwin-kperf`](.) | Safe Rust API for configuring and sampling performance counters | -| [`darwin-kperf-sys`](sys) | Raw FFI bindings to `kperf.framework` and `kperfdata.framework` | -| [`darwin-kperf-events`](events) | Apple Silicon PMU event definitions (M1-M5), auto-generated from plist databases | -| [`darwin-kperf-criterion`](criterion) | Criterion.rs measurement plugin for hardware-counter benchmarking | +| [`darwin-kperf`](https://crates.io/crates/darwin-kperf) | Safe Rust API for configuring and sampling performance counters | +| [`darwin-kperf-sys`](https://crates.io/crates/darwin-kperf-sys) | Raw FFI bindings to `kperf.framework` and `kperfdata.framework` | +| [`darwin-kperf-events`](https://crates.io/crates/darwin-kperf-events) | Apple Silicon PMU event definitions (M1-M5), auto-generated from plist databases | +| [`darwin-kperf-criterion`](https://crates.io/crates/darwin-kperf-criterion) | Criterion.rs measurement plugin for hardware-counter benchmarking | ## Platform support diff --git a/libs/darwin-kperf/codegen/Cargo.toml b/libs/darwin-kperf/codegen/Cargo.toml index 43493481d3b..2bbabf100d1 100644 --- a/libs/darwin-kperf/codegen/Cargo.toml +++ b/libs/darwin-kperf/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "darwin-kperf-codegen" -version = "0.1.0" +version = "0.1.1" authors.workspace = true edition.workspace = true license = "MIT OR Apache-2.0" diff --git a/libs/darwin-kperf/codegen/package.json b/libs/darwin-kperf/codegen/package.json index 76a70fa287c..0cb8825cefc 100644 --- a/libs/darwin-kperf/codegen/package.json +++ b/libs/darwin-kperf/codegen/package.json @@ -1,6 +1,6 @@ { "name": "@rust/darwin-kperf-codegen", - "version": "0.1.0-private", + "version": "0.1.1-private", "private": true, "license": "MIT OR Apache-2.0" } diff --git a/libs/darwin-kperf/criterion/Cargo.toml b/libs/darwin-kperf/criterion/Cargo.toml index 36ebf8b1343..229f24d0a5b 100644 --- a/libs/darwin-kperf/criterion/Cargo.toml +++ b/libs/darwin-kperf/criterion/Cargo.toml @@ -1,10 +1,11 @@ [package] name = "darwin-kperf-criterion" -version = "0.1.0" +version = "0.1.1" authors.workspace = true edition.workspace = true license = "MIT OR Apache-2.0" publish = true +readme = "../README.md" description = "Criterion measurement plugin using Apple's hardware performance counters" documentation = "https://docs.rs/darwin-kperf-criterion" repository = "https://github.com/hashintel/hash/tree/main/libs/darwin-kperf/criterion" @@ -13,7 +14,7 @@ categories = ["development-tools::profiling"] [dependencies] # Public workspace dependencies -darwin-kperf-events = { version = "0.1.0", path = "../events", public = true } +darwin-kperf-events = { workspace = true, public = true } # Public third-party dependencies codspeed-criterion-compat-walltime = { workspace = true, optional = true, public = true, default-features = false } diff --git a/libs/darwin-kperf/criterion/package.json b/libs/darwin-kperf/criterion/package.json index dfdc698f323..d7560697605 100644 --- a/libs/darwin-kperf/criterion/package.json +++ b/libs/darwin-kperf/criterion/package.json @@ -1,6 +1,6 @@ { "name": "@rust/darwin-kperf-criterion", - "version": "0.1.0", + "version": "0.1.1", "private": true, "description": "Criterion measurement plugin using Apple's hardware performance counters", "license": "MIT OR Apache-2.0", diff --git a/libs/darwin-kperf/events/Cargo.toml b/libs/darwin-kperf/events/Cargo.toml index 4287cdd3787..b28146c5c7f 100644 --- a/libs/darwin-kperf/events/Cargo.toml +++ b/libs/darwin-kperf/events/Cargo.toml @@ -1,10 +1,11 @@ [package] name = "darwin-kperf-events" -version = "0.1.0" +version = "0.1.1" authors.workspace = true edition.workspace = true license = "MIT OR Apache-2.0" publish = true +readme = "../README.md" description = "Apple Silicon PMU event definitions for darwin-kperf" documentation = "https://docs.rs/darwin-kperf-events" repository = "https://github.com/hashintel/hash/tree/main/libs/darwin-kperf/events" diff --git a/libs/darwin-kperf/events/package.json b/libs/darwin-kperf/events/package.json index 88856701939..fb8ae81d6c7 100644 --- a/libs/darwin-kperf/events/package.json +++ b/libs/darwin-kperf/events/package.json @@ -1,6 +1,6 @@ { "name": "@rust/darwin-kperf-events", - "version": "0.1.0", + "version": "0.1.1", "private": true, "description": "Apple Silicon PMU event definitions for darwin-kperf", "license": "MIT OR Apache-2.0" diff --git a/libs/darwin-kperf/package.json b/libs/darwin-kperf/package.json index 695502a426d..bf50c2005ac 100644 --- a/libs/darwin-kperf/package.json +++ b/libs/darwin-kperf/package.json @@ -1,6 +1,6 @@ { "name": "@rust/darwin-kperf", - "version": "0.1.0", + "version": "0.1.1", "private": true, "description": "Safe Rust bindings for Apple's kperf/kpc hardware performance counters", "license": "MIT OR Apache-2.0", diff --git a/libs/darwin-kperf/sys/Cargo.toml b/libs/darwin-kperf/sys/Cargo.toml index 1f6ad7bd565..65c281453d7 100644 --- a/libs/darwin-kperf/sys/Cargo.toml +++ b/libs/darwin-kperf/sys/Cargo.toml @@ -1,10 +1,11 @@ [package] name = "darwin-kperf-sys" -version = "0.1.0" +version = "0.1.1" authors.workspace = true edition.workspace = true license = "MIT OR Apache-2.0" publish = true +readme = "../README.md" description = "Raw FFI bindings to Apple's kperf and kperfdata frameworks" documentation = "https://docs.rs/darwin-kperf-sys" repository = "https://github.com/hashintel/hash/tree/main/libs/darwin-kperf/sys" diff --git a/libs/darwin-kperf/sys/package.json b/libs/darwin-kperf/sys/package.json index 03a04b1185e..eb768c9dfc2 100644 --- a/libs/darwin-kperf/sys/package.json +++ b/libs/darwin-kperf/sys/package.json @@ -1,6 +1,6 @@ { "name": "@rust/darwin-kperf-sys", - "version": "0.1.0", + "version": "0.1.1", "private": true, "description": "Raw FFI bindings to Apple's kperf and kperfdata frameworks", "license": "MIT OR Apache-2.0",