diff --git a/CHANGELOG.md b/CHANGELOG.md index 00fbd6f..9a80009 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,18 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] - ReleaseDate +## [0.12.0] - 2023-10-04 + +### Added + +- Experimental support for ARM. ([#91]) + +[#91]: https://github.com/metrics-rs/quanta/pull/91 + +### Changed + +- Update `raw-cpuid` to 11.0. + ## [0.11.1] - 2023-05-28 ### Added @@ -218,7 +230,8 @@ description for the finer details. All changes below are part of the aforementi - Initial commit. -[Unreleased]: https://github.com/metrics-rs/quanta/compare/v0.11.1...HEAD +[Unreleased]: https://github.com/metrics-rs/quanta/compare/v0.12.0...HEAD +[0.12.0]: https://github.com/metrics-rs/quanta/compare/v0.11.1...v0.12.0 [0.11.1]: https://github.com/metrics-rs/quanta/compare/v0.11.0...v0.11.1 [0.11.0]: https://github.com/metrics-rs/quanta/compare/v0.10.1...v0.11.0 [0.10.1]: https://github.com/metrics-rs/quanta/compare/v0.10.0...v0.10.1 diff --git a/Cargo.toml b/Cargo.toml index 9b0ad08..61477b2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "quanta" -version = "0.11.1" +version = "0.12.0" authors = ["Toby Lawrence "] edition = "2021" rust-version = "1.60" diff --git a/src/clocks/monotonic/unix.rs b/src/clocks/monotonic/unix.rs index 74ae076..bb73e2b 100644 --- a/src/clocks/monotonic/unix.rs +++ b/src/clocks/monotonic/unix.rs @@ -1,5 +1,7 @@ #[derive(Clone, Copy, Debug, Default)] -pub struct Monotonic; +pub struct Monotonic { + _default: (), +} impl Monotonic { #[allow(clippy::cast_sign_loss)] diff --git a/src/clocks/monotonic/wasm.rs b/src/clocks/monotonic/wasm.rs index 24db95f..39a742b 100644 --- a/src/clocks/monotonic/wasm.rs +++ b/src/clocks/monotonic/wasm.rs @@ -2,7 +2,9 @@ const WASM_WRONG_ENV: &str = "failed to find the global `window` object: the `wa const WASM_MISSING_WINDOW_PERF: &str = "failed to find `window.performance`"; #[derive(Clone, Copy, Debug, Default)] -pub struct Monotonic; +pub struct Monotonic { + _default: (), +} #[cfg(all(target_arch = "wasm32", target_os = "unknown"))] impl Monotonic {