Skip to content

Commit 3caa141

Browse files
jplatteFSMaxB
andcommitted
Update changelog
Co-authored-by: Max Bruckner <max@maxbruckner.de>
1 parent 9499b10 commit 3caa141

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
* Breaking: Allow values larger than 32 bit for `int!` and `uint!` macros
44
This means that `i32`-suffixed and `u32`-suffixed literals are no longer accepcted
55
* The old macros can be replaced like follows: `int!(42)` -> `Int::from(42_i32)` etc.
6-
* The minimum supported rust version is raised to 1.46.
7-
* The `int!` and `uint!` macros now support arbitrary const expressions, not just literals
8-
* `Int::new` and `UInt::new` are now const
96
* Breaking: Serialization of `Int` and `UInt` now call the serialization of `i64` and `u64` directly instead of
107
serializing them as newtype structs, emulating `#[serde(transparent)]`.
118
This doesn't make a difference for `serde_json` for example, but it could make a difference for other serializers
9+
* Breaking: Remove the `float_deserialize` feature and replace it with the `(U)Int::deserialize_via_float` methods that
10+
can be used with serde's `deserialize_with` attribute.
11+
* The `int!` and `uint!` macros now support arbitrary const expressions, not just literals
12+
* `Int::new` and `UInt::new` are now const
13+
* The minimum supported rust version is raised to 1.57.
1214

1315
# 0.2.2
1416

0 commit comments

Comments
 (0)