Skip to content

Commit 999bb02

Browse files
authored
Force version number during macro resolution (#642)
1 parent bacc60b commit 999bb02

File tree

6 files changed

+14
-7
lines changed

6 files changed

+14
-7
lines changed

.buildnumber

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
1
22
34
3-
0
3+
1

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Version History
22

3+
## 1.34.1
4+
5+
### Fixed
6+
7+
* Hotfix for circular dependency when using the `macros` feature.
8+
39
## 1.34.0
410

511
### Added

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ name = "rust_decimal"
1212
readme = "./README.md"
1313
repository = "https://github.com/paupino/rust-decimal"
1414
rust-version = "1.60"
15-
version = "1.34.0"
15+
version = "1.34.1"
1616

1717
[package.metadata.docs.rs]
1818
all-features = true
@@ -32,7 +32,7 @@ proptest = { default-features = false, optional = true, features = ["std"], vers
3232
rand = { default-features = false, optional = true, version = "0.8" }
3333
rkyv = { default-features = false, features = ["size_32", "std"], optional = true, version = "0.7.42" }
3434
rocket = { default-features = false, optional = true, version = "0.5.0-rc.3" }
35-
rust_decimal_macros = { default-features = false, optional = true, version = "1.33" } # This needs to be the n-1 published version
35+
rust_decimal_macros = { default-features = false, optional = true, version = "1.34" } # This needs to a published version
3636
serde = { default-features = false, optional = true, version = "1.0" }
3737
serde_json = { default-features = false, optional = true, version = "1.0" }
3838
tokio-postgres = { default-features = false, optional = true, version = "0.7" }

examples/serde-json-scenarios/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "serde-json-scenarios"
3-
version = "1.34.0"
3+
version = "0.0.0"
44
edition = "2021"
55
publish = false
66

fuzz/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ authors = ["Automatically generated"]
2121
edition = "2021"
2222
name = "rust-decimal-fuzz"
2323
publish = false
24-
version = "1.34.0"
24+
version = "0.0.0"
2525

2626
[package.metadata]
2727
cargo-fuzz = true

macros/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rust_decimal_macros"
3-
version = "1.34.0"
3+
version = "1.34.1"
44
authors = ["Paul Mason <[email protected]>"]
55
edition = "2021"
66
description = "Shorthand macros to assist creating Decimal types."
@@ -12,7 +12,8 @@ categories = ["science","data-structures"]
1212
license = "MIT"
1313

1414
[dependencies]
15-
rust_decimal = { path = "..", version = "1.31", default-features = false }
15+
# This needs to be a locked version until we can remove this dependency altogether
16+
rust_decimal = { version = "=1.33.1", default-features = false }
1617
quote = "1.0"
1718

1819
[dev-dependencies]

0 commit comments

Comments
 (0)