Skip to content

Commit

Permalink
Cargo: Eliminate security warning about unused atty dependency
Browse files Browse the repository at this point in the history
atty is unmaintained but is still used by clap.
Disabling the default features for cbindgen removes the clap
dependency and thus removes atty.

Resolves: https://github.com/Cisco-Talos/clamav/security/dependabot/2
  • Loading branch information
micahsnyder committed Oct 20, 2023
1 parent 1dab38c commit a20fbf7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 176 deletions.
196 changes: 22 additions & 174 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions libclamav_rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ crate-type = ["staticlib"]
name = "clamav_rust"

[build-dependencies]
cbindgen = "0.24"
bindgen = "0.59"
cbindgen = { version ="0.24", default-features = false }
bindgen = "0.65"

0 comments on commit a20fbf7

Please sign in to comment.