Skip to content

Commit 0daa36d

Browse files
committed
Bump version to 0.3.0
Removes deprecated `maybe_const_fn!` function and the corresponding dependency. This is a breaking change, so cannot be part of the 0.2.0 series.
1 parent b3b6eda commit 0daa36d

4 files changed

Lines changed: 9 additions & 3 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ A title is required for publishing a github release, so all versions should have
1111

1212
## Unreleased
1313

14+
## 0.3.0 - 2026-07-24
15+
Remove deprecated `maybe_const_fn!` macro.
16+
17+
I will publish final version in the 0.2.x series which forwards to version 0.3.
18+
This will ensure that the cached results are shared across both crate versions.
19+
1420
### Removed
1521
- *BREAKING*: Remove deprecated `maybe_const_fn!` macro.
1622
- Remove `compat-maybe-const-fn` feature, which is now unnecessary.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustversion-detect"
3-
version = "0.2.2"
3+
version = "0.3.0"
44
authors = ["David Tolnay <dtolnay@gmail.com>", "Techcable"]
55
categories = ["development-tools::build-utils"]
66
keywords = ["autocfg", "cfg", "nightly", "rustc", "version"]

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ reducing compile times compared to using the [`rustversion`] macros in a build s
2424
Add the following to your build script:
2525
```toml
2626
[build-dependencies]
27-
rustversion-detect = "0.2"
27+
rustversion-detect = "0.3"
2828
```
2929

3030
## Examples

‎src/lib.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
//! Add the following to your build script:
2222
//! ```toml
2323
//! [build-dependencies]
24-
//! rustversion-detect = "0.2"
24+
//! rustversion-detect = "0.3"
2525
//! ```
2626
//!
2727
//! # Examples

0 commit comments

Comments
 (0)