From e8bb8193f690e51ea4a10311ef6aea134d04663f Mon Sep 17 00:00:00 2001 From: Sergey Potapov Date: Sun, 25 Jun 2023 10:44:37 +0200 Subject: [PATCH] Prepare v0.3.0 --- CHANGELOG.md | 2 +- Cargo.lock | 2 +- nutype/Cargo.toml | 4 ++-- nutype_macros/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4944347..905ca87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -### v0.3.0 - 2023-??-?? +### v0.3.0 - 2023-06-25 * [BREAKING] `min_len` and `max_len` validators run against number of characters in a string (`val.chars().count()`), not number of bytes (`val.len()`). * Add `finite` validation for float types which checks against NaN and infinity. * Support deriving of `Default` diff --git a/Cargo.lock b/Cargo.lock index 98ce191..cff38be 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -77,7 +77,7 @@ checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "nutype" -version = "0.2.0" +version = "0.3.0" dependencies = [ "nutype_macros", ] diff --git a/nutype/Cargo.toml b/nutype/Cargo.toml index 8aaa69c..42b8f86 100644 --- a/nutype/Cargo.toml +++ b/nutype/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nutype" -version = "0.2.0" +version = "0.3.0" authors = ["Sergey Potapov "] edition = "2021" description = "The newtype with guarantees." @@ -15,7 +15,7 @@ categories = ["data-structures", "rust-patterns"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -nutype_macros = { version = "0.2.0", path = "../nutype_macros" } +nutype_macros = { version = "0.3.0", path = "../nutype_macros" } [features] serde = ["nutype_macros/serde"] diff --git a/nutype_macros/Cargo.toml b/nutype_macros/Cargo.toml index 01607b1..81a5780 100644 --- a/nutype_macros/Cargo.toml +++ b/nutype_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nutype_macros" -version = "0.2.0" +version = "0.3.0" edition = "2021" authors = ["Sergey Potapov "] description = "The newtype with guarantees."