1.0.0-alpha.8
This commit is contained in:
parent
b4f214f6dc
commit
f8974a951d
6 changed files with 11 additions and 7 deletions
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
## [1.0.0-alpha.8] - 2024-08-21
|
||||
|
||||
- Replace `schemars::gen` module with `schemars::generate`. This is because `gen` is a reserved keyword in rust 2024, so can only be used as `r#gen`. The `schemars::gen` module is still available for ease of upgrading, but is marked as deprecated and _may_ be removed in the future 1.0.0 release. (https://github.com/GREsau/schemars/issues/306 / https://github.com/GREsau/schemars/pull/323)
|
||||
|
||||
## [1.0.0-alpha.7] - 2024-08-19
|
||||
|
||||
### Fixed
|
||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -309,7 +309,7 @@ checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741"
|
|||
|
||||
[[package]]
|
||||
name = "schemars"
|
||||
version = "1.0.0-alpha.7"
|
||||
version = "1.0.0-alpha.8"
|
||||
dependencies = [
|
||||
"arrayvec",
|
||||
"bigdecimal",
|
||||
|
@ -335,7 +335,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "schemars_derive"
|
||||
version = "1.0.0-alpha.7"
|
||||
version = "1.0.0-alpha.8"
|
||||
dependencies = [
|
||||
"pretty_assertions",
|
||||
"proc-macro2",
|
||||
|
|
|
@ -281,5 +281,5 @@ For example, to implement `JsonSchema` on types from `chrono`, enable it as a fe
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
schemars = { version = "1.0.0-alpha.7", features = ["chrono04"] }
|
||||
schemars = { version = "1.0.0-alpha.8", features = ["chrono04"] }
|
||||
```
|
||||
|
|
|
@ -31,5 +31,5 @@ For example, to implement `JsonSchema` on types from `chrono`, enable it as a fe
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
schemars = { version = "1.0.0-alpha.7", features = ["chrono04"] }
|
||||
schemars = { version = "1.0.0-alpha.8", features = ["chrono04"] }
|
||||
```
|
||||
|
|
|
@ -3,7 +3,7 @@ name = "schemars"
|
|||
description = "Generate JSON Schemas from Rust code"
|
||||
homepage = "https://graham.cool/schemars/"
|
||||
repository = "https://github.com/GREsau/schemars"
|
||||
version = "1.0.0-alpha.7"
|
||||
version = "1.0.0-alpha.8"
|
||||
authors = ["Graham Esau <gesau@hotmail.co.uk>"]
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
|
@ -13,7 +13,7 @@ categories = ["encoding", "no-std"]
|
|||
rust-version = "1.60"
|
||||
|
||||
[dependencies]
|
||||
schemars_derive = { version = "=1.0.0-alpha.7", optional = true, path = "../schemars_derive" }
|
||||
schemars_derive = { version = "=1.0.0-alpha.8", optional = true, path = "../schemars_derive" }
|
||||
serde = { version = "1.0", default-features = false, features = ["alloc"]}
|
||||
serde_json = { version = "1.0.122", default-features = false, features = ["alloc"] }
|
||||
dyn-clone = "1.0"
|
||||
|
|
|
@ -3,7 +3,7 @@ name = "schemars_derive"
|
|||
description = "Macros for #[derive(JsonSchema)], for use with schemars"
|
||||
homepage = "https://graham.cool/schemars/"
|
||||
repository = "https://github.com/GREsau/schemars"
|
||||
version = "1.0.0-alpha.7"
|
||||
version = "1.0.0-alpha.8"
|
||||
authors = ["Graham Esau <gesau@hotmail.co.uk>"]
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue