From e33bc840e67a31f9758ac6587425eb1c54dfec50 Mon Sep 17 00:00:00 2001 From: Lukas Kalbertodt Date: Sat, 9 Apr 2022 09:13:04 +0200 Subject: [PATCH] Bump version to 0.4.0 The proc macro helper crate also now "opts out" of semantic versioning and the main crate has an exact requirement on it. I used this scheme in other projects like `bunt` already. No one is supposed to use the proc macro crate directly anyway. It's an implementation detail. And the exact `=` requirement means that always one specific proc macro crate version is used. --- Cargo.toml | 8 ++++---- atomig-macro/Cargo.toml | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index df348d7..1595745 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "atomig" -version = "0.3.3" +version = "0.4.0" authors = ["Lukas Kalbertodt "] edition = "2021" description = """ -Generic and convenient `std` atomics via `Atomic`. Can be used with many -primitive types (including floats) and with custom types. +Generic, convenient and lock-free `std` atomics via `Atomic`. Can be used +with many primitive types (including floats) and with custom types. """ documentation = "https://docs.rs/atomig/" repository = "https://github.com/LukasKalbertodt/atomig/" @@ -21,7 +21,7 @@ categories = ["concurrency", "hardware-support", "no-std"] derive = ["atomig-macro"] [dependencies] -atomig-macro = { version = "0.2.0", path = "atomig-macro", optional = true } +atomig-macro = { version = "=0.3.0", path = "atomig-macro", optional = true } serde = { version = "1", default-features = false, optional = true } [dev-dependencies] diff --git a/atomig-macro/Cargo.toml b/atomig-macro/Cargo.toml index 5ced24c..afdf788 100644 --- a/atomig-macro/Cargo.toml +++ b/atomig-macro/Cargo.toml @@ -1,11 +1,12 @@ [package] name = "atomig-macro" -version = "0.2.0" +version = "0.3.0" authors = ["Lukas Kalbertodt "] edition = "2021" description = """ -Defines procedural macros for the crate `atomig`. Please see the main crate. +Helper crate for `atomig`. Do not use directly, but only through main crate. +This helper does not follow semantic versioning! """ repository = "https://github.com/LukasKalbertodt/atomig/" license = "MIT/Apache-2.0"