crates.io / clap / 4.6.7

clap 4.6.7

Source
https://github.com/clap-rs/clap
Tag scanned
v4.6.7
Compared with
v4.6.6 (0 signals introduced since)
Files
442 scanned, 175 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 3 info
Scan time
0.5 s
LLM review
LLM review by claude-haiku-5-5 (Anthropic): nothing at warn or critical to review.
Disclude version
4.0.0
Scanned (UTC)
2026-10-14 20:23

Signals

Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.

  1. file mixes tab and space indentation (6 tab-indented and 414 space-indented lines) (raw pass, confidence 0.40)

    pub(crate) fn basic_command(name: &'static str) -> clap::Command {
        clap::Command::new(name)
            .arg(
                clap::Arg::new("config")
  2. info proc-macro-presence clap_derive/src/lib.rs:37:1

    proc-macro attribute `#[proc_macro_derive]` present (ast pass, confidence 0.95)

    /// Generates the `ValueEnum` impl.
    #[proc_macro_derive(ValueEnum, attributes(clap, value))]
    pub fn value_enum(input: TokenStream) -> TokenStream {
        let input: DeriveInput = parse_macro_input!(input);
  3. info whitespace-anomaly tests/builder/help.rs:10:1

    file mixes tab and space indentation (18 tab-indented and 2805 space-indented lines) (raw pass, confidence 0.40)

    fn setup() -> Command {
        Command::new("test")
            .author("Kevin K.")
            .about("tests stuff")

Reproduce This Scan

Run disclude locally to verify. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.

cargo install disclude --version 4.0.0
git clone https://github.com/clap-rs/clap clap && cd clap
git checkout v4.6.7
disclude scan --severity info --diff v4.6.6 .