mirror of https://github.com/kdl-org/kdl-rs.git
chore!(msrv): bump MSRV to 1.81
This commit is contained in:
parent
fbd1de4d9c
commit
757ddf04cb
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
rust: [1.71.1, stable]
|
||||
rust: [1.81, stable]
|
||||
os: [ubuntu-latest, macOS-latest, windows-latest]
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ readme = "README.md"
|
|||
homepage = "https://kdl.dev"
|
||||
repository = "https://github.com/kdl-org/kdl-rs"
|
||||
keywords = ["kdl", "document", "serialization", "config"]
|
||||
rust-version = "1.71.1"
|
||||
rust-version = "1.81"
|
||||
edition = "2021"
|
||||
|
||||
[features]
|
||||
|
|
|
|||
14
README.md
14
README.md
|
|
@ -109,12 +109,12 @@ Error:
|
|||
|
||||
* `span` (default) - Includes spans in the various document-related structs.
|
||||
* `v1` - Adds support for v1 parsing. This will pull in the entire previous
|
||||
version of `kdl-rs`, and so may be fairly heavy.
|
||||
version of `kdl-rs`, and so may be fairly heavy.
|
||||
* `v1-fallback` - Implies `v1`. Makes it so the various `*::parse()` and
|
||||
`FromStr` implementations try to parse their inputs as `v2`, and, if that
|
||||
fails, try again with `v1`. For `KdlDocument`, a heuristic will be applied
|
||||
if both `v1` and `v2` parsers fail, to pick which error(s) to return. For
|
||||
other types, only the `v2` parser's errors will be returned.
|
||||
`FromStr` implementations try to parse their inputs as `v2`, and, if that
|
||||
fails, try again with `v1`. For `KdlDocument`, a heuristic will be applied
|
||||
if both `v1` and `v2` parsers fail, to pick which error(s) to return. For
|
||||
other types, only the `v2` parser's errors will be returned.
|
||||
|
||||
### Quirks
|
||||
|
||||
|
|
@ -140,9 +140,9 @@ means a few things:
|
|||
representation will be thrown away and the actual value will be used when
|
||||
serializing.
|
||||
|
||||
### Minimum Supported Rust Version
|
||||
### Minimum Supported Rust Version (MSRV)
|
||||
|
||||
You must be at least `1.71.1` tall to get on this ride.
|
||||
You must be at least `1.81` tall to get on this ride.
|
||||
|
||||
### License
|
||||
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@
|
|||
//!
|
||||
//! ## Minimum Supported Rust Version (MSRV)
|
||||
//!
|
||||
//! You must be at least `1.71.1` tall to get on this ride.
|
||||
//! You must be at least `1.81` tall to get on this ride.
|
||||
//!
|
||||
//! ## License
|
||||
//!
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ readme = "README.md"
|
|||
homepage = "https://kdl.dev"
|
||||
repository = "https://github.com/kdl-org/kdl-rs"
|
||||
keywords = ["kdl", "document", "config", "lsp", "language-server"]
|
||||
rust-version = "1.71.1"
|
||||
rust-version = "1.81"
|
||||
|
||||
[dependencies]
|
||||
miette.workspace = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue