Bump MSRV to 1.37
This commit is contained in:
parent
94d75378f6
commit
1c9ecafd32
4 changed files with 7 additions and 4 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -8,12 +8,12 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
rust:
|
||||
- 1.36.0
|
||||
- 1.37.0
|
||||
- stable
|
||||
- beta
|
||||
- nightly
|
||||
include:
|
||||
- rust: 1.36.0
|
||||
- rust: 1.37.0
|
||||
test_features: "--all-features"
|
||||
allow_failure: false
|
||||
- rust: stable
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
### Added:
|
||||
- `SchemaGenerator::definitions_mut()` which returns a mutable reference to the generator's schema definitions
|
||||
|
||||
### Changed:
|
||||
- Minimum supported rust version is now 1.37.0
|
||||
|
||||
### Changed:
|
||||
- Deriving JsonSchema on enums now sets `additionalProperties` to false on generated schemas wherever serde doesn't accept unknown properties. This includes non-unit variants of externally tagged enums, and struct-style variants of all enums that have the `deny_unknown_fields` attribute.
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
[](https://github.com/GREsau/schemars/actions)
|
||||
[](https://crates.io/crates/schemars)
|
||||
[](https://docs.rs/schemars)
|
||||
[](https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html)
|
||||
[](https://blog.rust-lang.org/2019/08/15/Rust-1.37.0.html)
|
||||
|
||||
Generate JSON Schema documents from Rust code
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
msrv = "1.36.0"
|
||||
msrv = "1.37.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue