Skip to content

Commit c3248e2

Browse files
committed
Prepare for release v0.4.1
1 parent c295a0a commit c3248e2

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
### v0.4.1 - xxxx-xx-xx
1+
### v0.4.1 - 2024-04-07
22

33
* Support `no_std` ( the dependency needs to be declared as `nutype = { default-features = false }` )
44
* Support integration with [`arbitrary`](https://crates.io/crates/arbitrary) crate (see `arbitrary` feature).
55
* Support `Arbitrary` for integer types
66
* Support `Arbitrary` for float types
77
* Support `Arbitrary` for string inner types
88
* Support `Arbitrary` for any inner types
9-
* Ability to specify boundaries (`greater`, `greater_or_equal`, `less`, `less_or_equal`, `len_char_min`, `len_char_max`) with expressions or named constants.
9+
* Possibility to specify boundaries (`greater`, `greater_or_equal`, `less`, `less_or_equal`, `len_char_min`, `len_char_max`) with expressions or named constants.
1010
* Add `#[inline]` attribute to trivial functions
1111
* Improve error messages
1212

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/no_std_example/Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nutype/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nutype"
3-
version = "0.4.1-beta.1"
3+
version = "0.4.1"
44
authors = ["Serhii Potapov <[email protected]>"]
55
edition = "2021"
66
description = "The newtype with guarantees."
@@ -15,7 +15,7 @@ categories = ["data-structures", "rust-patterns"]
1515
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1616

1717
[dependencies]
18-
nutype_macros = { version = "0.4.1-beta.1", path = "../nutype_macros" }
18+
nutype_macros = { version = "0.4.1", path = "../nutype_macros" }
1919

2020
[features]
2121
default = ["std"]

nutype_macros/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nutype_macros"
3-
version = "0.4.1-beta.1"
3+
version = "0.4.1"
44
edition = "2021"
55
authors = ["Serhii Potapov <[email protected]>"]
66
description = "The newtype with guarantees."
@@ -22,7 +22,7 @@ syn = { version = "2.0", features = ["extra-traits", "full"] }
2222
# regex is used at compile-time to verify that a string literal provided
2323
# as `regex = "^foo|bar$"` can be compiled to a Regex without errors.
2424
regex = { version = "1", optional = true }
25-
cfg-if = "1.0.0"
25+
cfg-if = "1.0"
2626
kinded = "0.3.0"
2727
urlencoding = "2.0"
2828

0 commit comments

Comments
 (0)