1.0.0-alpha.13

This commit is contained in:
Graham Esau 2024-08-27 19:27:42 +01:00
parent d7ff81de96
commit 1c47af475f
6 changed files with 13 additions and 7 deletions

View file

@ -1,5 +1,11 @@
# Changelog # Changelog
## [1.0.0-alpha.13] - 2024-08-27
### Fixed
- Fix compile errors when using `#[validate(regex(path = *expr))]` attribute
## [1.0.0-alpha.12] - 2024-08-27 ## [1.0.0-alpha.12] - 2024-08-27
### Fixed ### Fixed

4
Cargo.lock generated
View file

@ -309,7 +309,7 @@ checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741"
[[package]] [[package]]
name = "schemars" name = "schemars"
version = "1.0.0-alpha.12" version = "1.0.0-alpha.13"
dependencies = [ dependencies = [
"arrayvec", "arrayvec",
"bigdecimal", "bigdecimal",
@ -335,7 +335,7 @@ dependencies = [
[[package]] [[package]]
name = "schemars_derive" name = "schemars_derive"
version = "1.0.0-alpha.12" version = "1.0.0-alpha.13"
dependencies = [ dependencies = [
"pretty_assertions", "pretty_assertions",
"proc-macro2", "proc-macro2",

View file

@ -281,5 +281,5 @@ For example, to implement `JsonSchema` on types from `chrono`, enable it as a fe
```toml ```toml
[dependencies] [dependencies]
schemars = { version = "1.0.0-alpha.12", features = ["chrono04"] } schemars = { version = "1.0.0-alpha.13", features = ["chrono04"] }
``` ```

View file

@ -31,5 +31,5 @@ For example, to implement `JsonSchema` on types from `chrono`, enable it as a fe
```toml ```toml
[dependencies] [dependencies]
schemars = { version = "1.0.0-alpha.12", features = ["chrono04"] } schemars = { version = "1.0.0-alpha.13", features = ["chrono04"] }
``` ```

View file

@ -3,7 +3,7 @@ name = "schemars"
description = "Generate JSON Schemas from Rust code" description = "Generate JSON Schemas from Rust code"
homepage = "https://graham.cool/schemars/" homepage = "https://graham.cool/schemars/"
repository = "https://github.com/GREsau/schemars" repository = "https://github.com/GREsau/schemars"
version = "1.0.0-alpha.12" version = "1.0.0-alpha.13"
authors = ["Graham Esau <gesau@hotmail.co.uk>"] authors = ["Graham Esau <gesau@hotmail.co.uk>"]
edition = "2021" edition = "2021"
license = "MIT" license = "MIT"
@ -13,7 +13,7 @@ categories = ["encoding", "no-std"]
rust-version = "1.65" rust-version = "1.65"
[dependencies] [dependencies]
schemars_derive = { version = "=1.0.0-alpha.12", optional = true, path = "../schemars_derive" } schemars_derive = { version = "=1.0.0-alpha.13", optional = true, path = "../schemars_derive" }
serde = { version = "1.0", default-features = false, features = ["alloc"]} serde = { version = "1.0", default-features = false, features = ["alloc"]}
serde_json = { version = "1.0.127", default-features = false, features = ["alloc"] } serde_json = { version = "1.0.127", default-features = false, features = ["alloc"] }
dyn-clone = "1.0" dyn-clone = "1.0"

View file

@ -3,7 +3,7 @@ name = "schemars_derive"
description = "Macros for #[derive(JsonSchema)], for use with schemars" description = "Macros for #[derive(JsonSchema)], for use with schemars"
homepage = "https://graham.cool/schemars/" homepage = "https://graham.cool/schemars/"
repository = "https://github.com/GREsau/schemars" repository = "https://github.com/GREsau/schemars"
version = "1.0.0-alpha.12" version = "1.0.0-alpha.13"
authors = ["Graham Esau <gesau@hotmail.co.uk>"] authors = ["Graham Esau <gesau@hotmail.co.uk>"]
edition = "2021" edition = "2021"
license = "MIT" license = "MIT"