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:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
rust:
|
rust:
|
||||||
- 1.36.0
|
- 1.37.0
|
||||||
- stable
|
- stable
|
||||||
- beta
|
- beta
|
||||||
- nightly
|
- nightly
|
||||||
include:
|
include:
|
||||||
- rust: 1.36.0
|
- rust: 1.37.0
|
||||||
test_features: "--all-features"
|
test_features: "--all-features"
|
||||||
allow_failure: false
|
allow_failure: false
|
||||||
- rust: stable
|
- rust: stable
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
### Added:
|
### Added:
|
||||||
- `SchemaGenerator::definitions_mut()` which returns a mutable reference to the generator's schema definitions
|
- `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:
|
### 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.
|
- 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://github.com/GREsau/schemars/actions)
|
||||||
[](https://crates.io/crates/schemars)
|
[](https://crates.io/crates/schemars)
|
||||||
[](https://docs.rs/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
|
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