Skip to content

Commit 43a4078

Browse files
authored
fix: Remove unmaintained json5 dependency and other unused config crate sub-dependencies (#1611)
fix: remove unmaintained json5 dependency and other unused config crate sub-dependencies
1 parent 99edde3 commit 43a4078

File tree

3 files changed

+9
-164
lines changed

3 files changed

+9
-164
lines changed

Cargo.lock

Lines changed: 9 additions & 157 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,7 @@ ciborium = "0.2.2"
111111
toml = "0.8.23"
112112
config = { version = "0.14.0", default-features = false, features = [
113113
"json",
114-
"json5",
115114
"toml",
116-
"ron",
117-
"ini",
118115
] }
119116
const-hex = "1.14"
120117
const-oid = { version = "0.9.6", optional = true }

sdk/src/settings/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -385,11 +385,7 @@ impl Settings {
385385
pub fn from_string(settings_str: &str, format: &str) -> Result<Self> {
386386
let f = match format.to_lowercase().as_str() {
387387
"json" => FileFormat::Json,
388-
//"json5" => FileFormat::Json5,
389-
//"ini" => FileFormat::Ini,
390388
"toml" => FileFormat::Toml,
391-
//"yaml" => FileFormat::Yaml,
392-
//ron" => FileFormat::Ron,
393389
_ => return Err(Error::UnsupportedType),
394390
};
395391

0 commit comments

Comments
 (0)