Skip to content

Commit 6c0312e

Browse files
authored
chore: Disable default features of config crate (#389)
There is a security advisory for json5 being unmaintained. It is included as a default feature of the `config` crate. Since we do not rely on the json5 just disable default features of the config.
1 parent 3162cff commit 6c0312e

File tree

2 files changed

+2
-165
lines changed

2 files changed

+2
-165
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ bytes = { version = "1.11" }
3333
chrono = { version = "0.4" }
3434
clap = { version = "4.5", features = ["derive"] }
3535
color-eyre = { version = "0.6" }
36-
config = { version = "0.15", features = ["ini"] }
36+
config = { version = "0.15", default-features = false, features = ["async",
37+
"ini"] }
3738
derive_builder = { version = "0.20" }
3839
dyn-clone = { version = "1.0" }
3940
eyre = { version = "0.6" }

0 commit comments

Comments
 (0)