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 }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
rust: [1.71.1, stable]
|
rust: [1.81, stable]
|
||||||
os: [ubuntu-latest, macOS-latest, windows-latest]
|
os: [ubuntu-latest, macOS-latest, windows-latest]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ readme = "README.md"
|
||||||
homepage = "https://kdl.dev"
|
homepage = "https://kdl.dev"
|
||||||
repository = "https://github.com/kdl-org/kdl-rs"
|
repository = "https://github.com/kdl-org/kdl-rs"
|
||||||
keywords = ["kdl", "document", "serialization", "config"]
|
keywords = ["kdl", "document", "serialization", "config"]
|
||||||
rust-version = "1.71.1"
|
rust-version = "1.81"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|
|
||||||
14
README.md
14
README.md
|
|
@ -109,12 +109,12 @@ Error:
|
||||||
|
|
||||||
* `span` (default) - Includes spans in the various document-related structs.
|
* `span` (default) - Includes spans in the various document-related structs.
|
||||||
* `v1` - Adds support for v1 parsing. This will pull in the entire previous
|
* `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
|
* `v1-fallback` - Implies `v1`. Makes it so the various `*::parse()` and
|
||||||
`FromStr` implementations try to parse their inputs as `v2`, and, if that
|
`FromStr` implementations try to parse their inputs as `v2`, and, if that
|
||||||
fails, try again with `v1`. For `KdlDocument`, a heuristic will be applied
|
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
|
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.
|
other types, only the `v2` parser's errors will be returned.
|
||||||
|
|
||||||
### Quirks
|
### Quirks
|
||||||
|
|
||||||
|
|
@ -140,9 +140,9 @@ means a few things:
|
||||||
representation will be thrown away and the actual value will be used when
|
representation will be thrown away and the actual value will be used when
|
||||||
serializing.
|
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
|
### License
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -140,7 +140,7 @@
|
||||||
//!
|
//!
|
||||||
//! ## Minimum Supported Rust Version (MSRV)
|
//! ## 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
|
//! ## License
|
||||||
//!
|
//!
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ readme = "README.md"
|
||||||
homepage = "https://kdl.dev"
|
homepage = "https://kdl.dev"
|
||||||
repository = "https://github.com/kdl-org/kdl-rs"
|
repository = "https://github.com/kdl-org/kdl-rs"
|
||||||
keywords = ["kdl", "document", "config", "lsp", "language-server"]
|
keywords = ["kdl", "document", "config", "lsp", "language-server"]
|
||||||
rust-version = "1.71.1"
|
rust-version = "1.81"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
miette.workspace = true
|
miette.workspace = true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue