Skip to content

Commit

Permalink
1.0.0-alpha.5
Browse files Browse the repository at this point in the history
  • Loading branch information
GREsau committed Aug 17, 2024
1 parent 89a34e7 commit 4b7e9ac
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## [1.0.0-alpha.5] - _in-dev_
## [1.0.0-alpha.5] - 2024-08-17

### Added

Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ println!("{}", serde_json::to_string_pretty(&schema).unwrap());

## Feature Flags

- `std` (enabled by default) - implements `JsonSchema` for types in the rust standard library (`JsonSchema` is still implemented on types in `core` and `alloc`, even when this feature is disabled). Disable this feature to use schemars in `no_std` environments.
- `derive` (enabled by default) - provides `#[derive(JsonSchema)]` macro
- `preserve_order` - keep the order of struct fields in `Schema` properties
- `raw_value` - implements `JsonSchema` for `serde_json::value::RawValue` (enables the serde_json `raw_value` feature)
Expand All @@ -280,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.4", features = ["chrono04"] }
schemars = { version = "1.0.0-alpha.5", features = ["chrono04"] }
```
2 changes: 1 addition & 1 deletion docs/4-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.4", features = ["chrono04"] }
schemars = { version = "1.0.0-alpha.5", features = ["chrono04"] }
```
4 changes: 2 additions & 2 deletions schemars/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.4"
version = "1.0.0-alpha.5"
authors = ["Graham Esau <[email protected]>"]
edition = "2021"
license = "MIT"
Expand All @@ -13,7 +13,7 @@ categories = ["encoding"]
rust-version = "1.60"

[dependencies]
schemars_derive = { version = "=1.0.0-alpha.4", optional = true, path = "../schemars_derive" }
schemars_derive = { version = "=1.0.0-alpha.5", 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"
Expand Down
2 changes: 1 addition & 1 deletion schemars_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.4"
version = "1.0.0-alpha.5"
authors = ["Graham Esau <[email protected]>"]
edition = "2021"
license = "MIT"
Expand Down

0 comments on commit 4b7e9ac

Please sign in to comment.