Files
Pierre Warnier 829b37f7a8 completions: add clap_complete shell completion generator (#106)
Feature-gated binary (--features completions) that generates bash/zsh/fish/
elvish/powershell completions from each tool's uu_app() definition.

Usage:
  shadow-rs-completions passwd --shell bash
  shadow-rs-completions --all --shell zsh --dir completions/

Also updates generate-completions.sh to use the new binary and adds
windows-sys skip to deny.toml for transitive clap dep.

Fixes #106
2026-04-03 12:18:18 +02:00

41 lines
840 B
TOML

# spell-checker:ignore rustsec
[advisories]
version = 2
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
yanked = "warn"
[licenses]
version = 2
allow = [
"MIT",
"Apache-2.0",
"ISC",
"BSD-2-Clause",
"BSD-3-Clause",
"CC0-1.0",
"Unicode-3.0",
"Zlib",
"MPL-2.0",
]
confidence-threshold = 0.8
[bans]
multiple-versions = "deny"
wildcards = "allow"
highlight = "all"
# Known duplicate dependencies from transitive deps.
# Update this list when bumping clap/uucore.
skip = [
# clap -> terminal_size (0.60) vs clap -> anstyle-query (0.61)
{ crate = "windows-sys@0.60", reason = "transitive clap dep, Linux-only project" },
]
[sources]
unknown-registry = "warn"
unknown-git = "warn"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []