Skip to content

Commit

Permalink
Bump version to 0.4.0
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
LukasKalbertodt committed Apr 9, 2022
1 parent d7daa56 commit e33bc84
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "atomig"
version = "0.3.3"
version = "0.4.0"
authors = ["Lukas Kalbertodt <lukas.kalbertodt@gmail.com>"]
edition = "2021"

description = """
Generic and convenient `std` atomics via `Atomic<T>`. Can be used with many
primitive types (including floats) and with custom types.
Generic, convenient and lock-free `std` atomics via `Atomic<T>`. Can be used
with many primitive types (including floats) and with custom types.
"""
documentation = "https://docs.rs/atomig/"
repository = "https://github.com/LukasKalbertodt/atomig/"
Expand All @@ -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]
Expand Down
5 changes: 3 additions & 2 deletions atomig-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[package]
name = "atomig-macro"
version = "0.2.0"
version = "0.3.0"
authors = ["Lukas Kalbertodt <lukas.kalbertodt@gmail.com>"]
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"
Expand Down

0 comments on commit e33bc84

Please sign in to comment.