From b416544eb5addd651d949acd0f0193d051f212ac Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 4 Mar 2021 19:49:08 +0100 Subject: Fix test failure As reported in https://github.com/hjson/hjson-rust/issues/23 the issue of the failing tests is the serde_hjson crate. The problem can be prevented (as reported by https://github.com/hjson/hjson-rust/issues/23#issuecomment-775520018) by disabling the default features of the crate (namingly preservation of key order). This commit disables the default features of serde_hjson to fix our tests. Signed-off-by: Matthias Beyer --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 98a1383..f0f75b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ nom = "5.0.0" toml = { version = "0.5", optional = true } serde_json = { version = "1.0.2", optional = true } yaml-rust = { version = "0.4", optional = true } -serde-hjson = { version = "0.9", optional = true } +serde-hjson = { version = "0.9", default-features = false, optional = true } rust-ini = { version = "0.13", optional = true } [dev-dependencies] -- cgit v1.2.3 From 71adf3d2c2cab44e3dfcc7a728e2e534c68b2b64 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 13 Mar 2021 11:01:04 +0100 Subject: Update Cargo.toml settings for maintenance fork Signed-off-by: Matthias Beyer --- Cargo.toml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index f0f75b6..57b72c4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,18 +1,17 @@ [package] -name = "config" +name = "config-maint" version = "0.10.1" -description = "Layered configuration system for Rust applications." -homepage = "https://github.com/mehcode/config-rs" -repository = "https://github.com/mehcode/config-rs" +description = "Layered configuration system for Rust applications. (Maintenance fork)" +homepage = "https://sr.ht/~matthiasbeyer/config-rs-maint/" +repository = "https://git.sr.ht/~matthiasbeyer/config-rs-maint/" +documentation = "https://docs.rs/config-maint" readme = "README.md" keywords = ["config", "configuration", "settings", "env", "environment"] -authors = ["Ryan Leckey "] +authors = ["Ryan Leckey ", + "Matthias Beyer "] categories = ["config"] license = "MIT/Apache-2.0" -[badges] -travis-ci = { repository = "mehcode/config-rs" } - [features] default = ["toml", "json", "yaml", "hjson", "ini"] json = ["serde_json"] -- cgit v1.2.3 From 9f430e86c7bc0dcd9bd6e42cb27bb1e68d68f0dd Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 13 Mar 2021 11:02:48 +0100 Subject: Add maintenance badge Signed-off-by: Matthias Beyer --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 57b72c4..a970a89 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,6 +12,9 @@ authors = ["Ryan Leckey ", categories = ["config"] license = "MIT/Apache-2.0" +[badges] +maintenance = { status = "actively-developed" } + [features] default = ["toml", "json", "yaml", "hjson", "ini"] json = ["serde_json"] -- cgit v1.2.3