mirror of https://github.com/kdl-org/kdl-rs.git
Compare commits
9 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
b27c67c93c | |
|
|
6badb35888 | |
|
|
337e6ec339 | |
|
|
b3dfacba7e | |
|
|
4ac171abfd | |
|
|
8a6ecddef3 | |
|
|
da8335fcb7 | |
|
|
9bd26c619c | |
|
|
b5fa2e1c70 |
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
rust: [1.56.0, stable]
|
rust: [1.70.0, stable]
|
||||||
os: [ubuntu-latest, macOS-latest, windows-latest]
|
os: [ubuntu-latest, macOS-latest, windows-latest]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
29
CHANGELOG.md
29
CHANGELOG.md
|
|
@ -1,5 +1,34 @@
|
||||||
# `kdl` Release Changelog
|
# `kdl` Release Changelog
|
||||||
|
|
||||||
|
<a name="4.7.1"></a>
|
||||||
|
## 4.7.1 (2024-12-16)
|
||||||
|
|
||||||
|
The `miette` bump turned out to be a breaking change, so this release undoes it.
|
||||||
|
With the imminent release of `6.0.0` and the upcoming support for v1 parsing in
|
||||||
|
that version of the crate, it is unlikely this `kdl-rs` release line will
|
||||||
|
receive a `miette` update.
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **deps:** Back out "feat(deps): bump miette to 7.4.0" ([337e6ec3](https://github.com/kdl-org/kdl-rs/commit/337e6ec339d1661abb7e91d82f0ac3d03fe6f061))
|
||||||
|
|
||||||
|
<a name="v4.7.0"></a>
|
||||||
|
## 4.7.0 (2024-12-03)
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **deps:** bump miette to 7.4.0 ([b5fa2e1c](https://github.com/kdl-org/kdl-rs/commit/b5fa2e1c70e522b6929559b9382b34368d2f41da))
|
||||||
|
|
||||||
|
<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)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "kdl"
|
name = "kdl"
|
||||||
version = "4.6.0"
|
version = "4.7.1"
|
||||||
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"
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ words {
|
||||||
word_nodes.sort_by(sort_by_name);
|
word_nodes.sort_by(sort_by_name);
|
||||||
words_section.fmt();
|
words_section.fmt();
|
||||||
|
|
||||||
println!("{}", doc.to_string());
|
println!("{}", doc);
|
||||||
|
|
||||||
// output:
|
// output:
|
||||||
// words {
|
// words {
|
||||||
|
|
|
||||||
|
|
@ -120,13 +120,17 @@
|
||||||
//! you [`KdlDocument::fmt`] in which case the original representation will be
|
//! you [`KdlDocument::fmt`] in which case the original representation will be
|
||||||
//! thrown away and the actual value will be used when serializing.
|
//! thrown away and the actual value will be used when serializing.
|
||||||
//!
|
//!
|
||||||
|
//! ## Minimum Supported Rust Version (MSRV)
|
||||||
|
//!
|
||||||
|
//! This crate requires Rust 1.70.0 or later.
|
||||||
|
//!
|
||||||
//! ## License
|
//! ## License
|
||||||
//!
|
//!
|
||||||
//! The code in this repository is covered by [the Apache-2.0
|
//! The code in this repository is covered by [the Apache-2.0
|
||||||
//! License](LICENSE.md).
|
//! License](LICENSE.md).
|
||||||
|
|
||||||
#![deny(missing_debug_implementations, nonstandard_style)]
|
#![deny(missing_debug_implementations, nonstandard_style)]
|
||||||
#![warn(missing_docs, unreachable_pub, rust_2018_idioms, unreachable_pub)]
|
#![warn(missing_docs, unreachable_pub, rust_2018_idioms)]
|
||||||
#![cfg_attr(test, deny(warnings))]
|
#![cfg_attr(test, deny(warnings))]
|
||||||
#![doc(html_favicon_url = "https://kdl.dev/favicon.ico")]
|
#![doc(html_favicon_url = "https://kdl.dev/favicon.ico")]
|
||||||
#![doc(html_logo_url = "https://kdl.dev/logo.svg")]
|
#![doc(html_logo_url = "https://kdl.dev/logo.svg")]
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ fn validate_res(res: Result<KdlDocument, KdlError>, path: &Path) -> miette::Resu
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.join("expected_kdl");
|
.join("expected_kdl");
|
||||||
let expected_path = expected_dir.join(file_name);
|
let expected_path = expected_dir.join(file_name);
|
||||||
let underscored = expected_dir.join(&format!("_{}", PathBuf::from(file_name).display()));
|
let underscored = expected_dir.join(format!("_{}", PathBuf::from(file_name).display()));
|
||||||
if expected_path.exists() {
|
if expected_path.exists() {
|
||||||
let doc = res?;
|
let doc = res?;
|
||||||
let expected =
|
let expected =
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue