Compare commits

...

3 Commits
main ... v4.7.0

Author SHA1 Message Date
Kat Marchán da8335fcb7
chore: Release kdl version 4.7.0 2024-12-03 00:47:35 -08:00
Kat Marchán 9bd26c619c
docs: update readme 2024-12-03 00:44:52 -08:00
Kat Marchán b5fa2e1c70
feat(deps): bump miette to 7.4.0
Fixes: https://github.com/kdl-org/kdl-rs/issues/84
2024-12-03 00:43:50 -08:00
3 changed files with 13 additions and 3 deletions

View File

@ -1,5 +1,15 @@
# `kdl` Release Changelog # `kdl` Release Changelog
<a name="4.7.0"></a>
## 4.7.0 (2024-12-03)
This is a quick maintenance release to bump the miette version for folks still
using kdl v1.
### Features
* **deps:** bump miette to 7.4.0 ([b5fa2e1c](https://github.com/kdl-org/kdl-rs/commit/b5fa2e1c70e522b6929559b9382b34368d2f41da))
<a name="4.6.0"></a> <a name="4.6.0"></a>
## 4.6.0 (2022-10-09) ## 4.6.0 (2022-10-09)

View File

@ -1,6 +1,6 @@
[package] [package]
name = "kdl" name = "kdl"
version = "4.6.0" version = "4.7.0"
description = "Document-oriented KDL parser and API. Allows formatting/whitespace/comment-preserving parsing and modification of KDL text." description = "Document-oriented KDL parser and API. Allows formatting/whitespace/comment-preserving parsing and modification of KDL text."
authors = ["Kat Marchán <kzm@zkat.tech>", "KDL Community"] authors = ["Kat Marchán <kzm@zkat.tech>", "KDL Community"]
license = "Apache-2.0" license = "Apache-2.0"
@ -15,6 +15,6 @@ default = ["span"]
span = [] span = []
[dependencies] [dependencies]
miette = "5.3.0" miette = "7.4.0"
nom = { version = "7.1.1", default-features = false } nom = { version = "7.1.1", default-features = false }
thiserror = "1.0.30" thiserror = "1.0.30"

View File

@ -286,7 +286,7 @@ fn plain_identifier<'a: 'b, 'b>(
fn quoted_identifier<'a: 'b, 'b>( fn quoted_identifier<'a: 'b, 'b>(
kdl_parser: &'b KdlParser<'a>, kdl_parser: &'b KdlParser<'a>,
) -> impl Fn(&'a str) -> IResult<&str, KdlIdentifier, KdlParseError<&str>> + 'b { ) -> impl Fn(&'a str) -> IResult<&'a str, KdlIdentifier, KdlParseError<&'a str>> + 'b {
move |input| { move |input| {
let start = input; let start = input;
let (input, (raw, val)) = alt((string, raw_string))(input)?; let (input, (raw, val)) = alt((string, raw_string))(input)?;