1.0.0-alpha.4
This commit is contained in:
parent
0af8f50086
commit
3c9e49d161
6 changed files with 15 additions and 7 deletions
|
@ -1,5 +1,13 @@
|
|||
# Changelog
|
||||
|
||||
## [1.0.0-alpha.4] - 2024-08-17
|
||||
|
||||
### Fixed
|
||||
|
||||
- Reduce size of MIR output (and improve release-mode compile time) when deriving `JsonSchema` involving applying schema metadata
|
||||
- Fix `flatten`ing of `serde_json::Value`
|
||||
- Use absolute import for `Result` in derive output, ignoring any locally imported types called `Result` (https://github.com/GREsau/schemars/pull/307)
|
||||
|
||||
## [1.0.0-alpha.3] - 2024-08-10
|
||||
|
||||
### Added
|
||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -303,7 +303,7 @@ checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741"
|
|||
|
||||
[[package]]
|
||||
name = "schemars"
|
||||
version = "1.0.0-alpha.3"
|
||||
version = "1.0.0-alpha.4"
|
||||
dependencies = [
|
||||
"arrayvec",
|
||||
"bigdecimal",
|
||||
|
@ -329,7 +329,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "schemars_derive"
|
||||
version = "1.0.0-alpha.3"
|
||||
version = "1.0.0-alpha.4"
|
||||
dependencies = [
|
||||
"pretty_assertions",
|
||||
"proc-macro2",
|
||||
|
|
|
@ -280,5 +280,5 @@ For example, to implement `JsonSchema` on types from `chrono`, enable it as a fe
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
schemars = { version = "1.0.0-alpha.3", features = ["chrono04"] }
|
||||
schemars = { version = "1.0.0-alpha.4", features = ["chrono04"] }
|
||||
```
|
||||
|
|
|
@ -30,5 +30,5 @@ For example, to implement `JsonSchema` on types from `chrono`, enable it as a fe
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
schemars = { version = "1.0.0-alpha.3", features = ["chrono04"] }
|
||||
schemars = { version = "1.0.0-alpha.4", 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.3"
|
||||
version = "1.0.0-alpha.4"
|
||||
authors = ["Graham Esau <gesau@hotmail.co.uk>"]
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
|
@ -13,7 +13,7 @@ categories = ["encoding"]
|
|||
rust-version = "1.60"
|
||||
|
||||
[dependencies]
|
||||
schemars_derive = { version = "=1.0.0-alpha.3", optional = true, path = "../schemars_derive" }
|
||||
schemars_derive = { version = "=1.0.0-alpha.4", optional = true, path = "../schemars_derive" }
|
||||
serde = "1.0"
|
||||
serde_json = "1.0.25"
|
||||
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.3"
|
||||
version = "1.0.0-alpha.4"
|
||||
authors = ["Graham Esau <gesau@hotmail.co.uk>"]
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue