1- # v0.6.0
1+ # Changelog
2+
3+ All notable changes to this project will be documented in this file.
4+
5+ The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) ,
6+ and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7+
8+ ## [ Unreleased]
9+
10+ [ Unreleased ] : https://github.com/nik-rev/culit/compare/v0.6.2...HEAD
11+
12+ ## [ v0.6.2] - 2026-01-04
13+
14+ [ v0.6.2 ] : https://github.com/nik-rev/culit/compare/v0.6.1...v0.6.2
15+
16+ ## [ v0.6.1] - 2025-10-25
17+
18+ [ v0.6.1 ] : https://github.com/nik-rev/culit/compare/v0.6.0...v0.6.1
19+
20+ ## [ v0.6.0] - 2025-10-22
21+
22+ [ v0.6.0 ] : https://github.com/nik-rev/culit/compare/v0.5.2...v0.6.0
23+
24+ ### Changed
225
326The default invocation of ` #[culit] ` is identical to ` #[culit(crate::custom_literal)] ` ,
427so it is now possible to override where we look for custom literals. For example,
528` #[culit(foo::bar)] ` looks for literals in the ` foo::bar ` module.
629
730** Migration guide:** Replace usages of ` #[culit(local)] ` with ` #[culit(custom_literal)] `
831
9- # v0.5.0
32+ ## [ v0.5.2] - 2025-10-13
33+
34+ [ v0.5.2 ] : https://github.com/nik-rev/culit/compare/v0.5.1...v0.5.2
35+
36+ ## [ v0.5.1] - 2025-10-13
37+
38+ [ v0.5.1 ] : https://github.com/nik-rev/culit/compare/v0.5.0...v0.5.1
39+
40+ ## [ v0.5.0] - 2025-10-13
41+
42+ [ v0.5.0 ] : https://github.com/nik-rev/culit/compare/v0.4.3...v0.5.0
43+
44+ ### Added
1045
1146You can now use ` #[culit(local)] ` which will expand to literals at ` custom_literal ` (must be in scope),
1247rather than ` crate::custom_literal `
@@ -25,27 +60,67 @@ fn kilomile() {
2560}
2661```
2762
28- # v0.4.0
63+ ## [ v0.4.3] - 2025-09-22
64+
65+ [ v0.4.3 ] : https://github.com/nik-rev/culit/compare/v0.4.2...v0.4.3
66+
67+ ## [ v0.4.2] - 2025-09-22
68+
69+ [ v0.4.2 ] : https://github.com/nik-rev/culit/compare/v0.4.0...v0.4.2
70+
71+ ## [ v0.4.0] - 2025-09-22
72+
73+ [ v0.4.0 ] : https://github.com/nik-rev/culit/compare/v0.3.3...v0.4.0
74+
75+ ### Changed
2976
3077Renamed ` decimal ` to ` float ` to avoid confusion.
3178
3279Even though it is not 100% correct (since floats refer to the IEEE formats, but our floats can have an arbitrary exponent,
3380precision and size), it'd technically be more correct to call them "real"s.
3481But Rust does not make this distinction, so in order to raise the minimum possible confusion let's just call them ` float ` s.
3582
36- # v0.3.0
83+ ## [ v0.3.3] - 2025-09-22
84+
85+ [ v0.3.3 ] : https://github.com/nik-rev/culit/compare/v0.3.2...v0.3.3
86+
87+ ## [ v0.3.2] - 2025-09-22
88+
89+ [ v0.3.2 ] : https://github.com/nik-rev/culit/compare/v0.3.0...v0.3.2
90+
91+ ## [ v0.3.0] - 2025-09-22
92+
93+ [ v0.3.0 ] : https://github.com/nik-rev/culit/compare/v0.2.3...v0.3.0
94+
95+ ### Changed
3796
3897- Integers and decimals are passed as-is, without splitting them up. e.g:
3998 - ` 100.003e7km ` expands to ` crate::custom_literal::decimal::km!(100.003e7) `
4099 - ` 100km ` expands to ` crate::custom_literal::integer::km!(100) `
41100- Byte character is also passed as-is instead of the number, e.g.: ` b'a'ascii ` expands to ` crate::custom_literal::byte_character::ascii!(b'a') `
42101- MSRV is now 1.79
43102
44- # v0.2.0
103+ ## [ v0.2.3] - 2025-09-22
104+
105+ [ v0.2.3 ] : https://github.com/nik-rev/culit/compare/v0.2.2...v0.2.3
106+
107+ ## [ v0.2.2] - 2025-09-22
108+
109+ [ v0.2.2 ] : https://github.com/nik-rev/culit/compare/v0.2.1...v0.2.2
110+
111+ ## [ v0.2.1] - 2025-09-22
112+
113+ [ v0.2.1 ] : https://github.com/nik-rev/culit/compare/v0.2.0...v0.2.1
114+
115+ ## [ v0.2.0] - 2025-09-22
45116
46- Includes significant improvements to usability, specifically in defining custom integer and decimal literals.
117+ [ v0.2.0 ] : https://github.com/nik-rev/culit/compare/v0.1.9...v0.2.0
47118
48- ## Renamed the modules that we expect at ` crate::custom_literal ` to be more descriptive
119+ ### Changed
120+
121+ Significant improvements to usability, specifically in defining custom integer and decimal literals.
122+
123+ #### Renamed the modules that we expect at ` crate::custom_literal ` to be more descriptive
49124
50125| old| new|
51126| ---| ---|
@@ -59,7 +134,7 @@ Includes significant improvements to usability, specifically in defining custom
59134
60135We renamed from Float because float is too-specific to the format but decimal is a more general name for what we actually give you
61136
62- ## The signature of custom integer literal has changed.
137+ #### The signature of custom integer literal has changed.
63138
64139- No more base, we handle that for you.
65140- No more strings, you get the actual number.
@@ -72,7 +147,7 @@ We renamed from Float because float is too-specific to the format but decimal is
72147
73148Limitation: The absolute value of the custom literal may not exceed ` 340_282_366_920_938_463_463_374_607_431_768_211_455 `
74149
75- ## The signature of custom decimal literal has changed
150+ #### The signature of custom decimal literal has changed
76151
77152- No more strings. Fractional, integral and the exponent parts are now numbers.
78153Exponent also contains the ` - ` sign
@@ -91,6 +166,42 @@ Limitation: Each of these may not exceed `340_282_366_920_938_463_463_374_607_43
91166- Fractional part (part after the decimal point, before the exponent)
92167- Exponent
93168
94- # v0.1.0
169+ ## [ v0.1.9] - 2025-09-21
170+
171+ [ v0.1.9 ] : https://github.com/nik-rev/culit/compare/v0.1.8...v0.1.9
172+
173+ ## [ v0.1.8] - 2025-09-21
174+
175+ [ v0.1.8 ] : https://github.com/nik-rev/culit/compare/v0.1.7...v0.1.8
176+
177+ ## [ v0.1.7] - 2025-09-21
178+
179+ [ v0.1.7 ] : https://github.com/nik-rev/culit/compare/v0.1.6...v0.1.7
180+
181+ ## [ v0.1.6] - 2025-09-21
182+
183+ [ v0.1.6 ] : https://github.com/nik-rev/culit/compare/v0.1.5...v0.1.6
184+
185+ ## [ v0.1.5] - 2025-09-21
186+
187+ [ v0.1.5 ] : https://github.com/nik-rev/culit/compare/v0.1.4...v0.1.5
188+
189+ ## [ v0.1.4] - 2025-09-21
190+
191+ [ v0.1.4 ] : https://github.com/nik-rev/culit/compare/v0.1.3...v0.1.4
192+
193+ ## [ v0.1.3] - 2025-09-21
194+
195+ [ v0.1.3 ] : https://github.com/nik-rev/culit/compare/v0.1.2...v0.1.3
196+
197+ ## [ v0.1.2] - 2025-09-21
198+
199+ [ v0.1.2 ] : https://github.com/nik-rev/culit/compare/v0.1.1...v0.1.2
200+
201+ ## [ v0.1.1] - 2025-09-21
202+
203+ [ v0.1.1 ] : https://github.com/nik-rev/culit/compare/v0.1.0...v0.1.1
204+
205+ ## [ v0.1.0] - 2025-09-21
95206
96- Initial release
207+ [ v0.1.0 ] : https://github.com/nik-rev/culit/releases/v0.1.0
0 commit comments