cargo install *

built-in
-17.3% Savings
3 Commands
-43 Tokens saved
2 Tests

Install

tokf install 65475db5983522675572b558dfe5cb669b08388bd21d41e6ac0c9a4744b47ead
Safety checks passed

Filter definition

command = "cargo install *"
skip = [
  "^\\s*Compiling ",
  "^\\s*Downloading ",
  "^\\s*Locking ",
  "^\\s*Updating ",
  "^\\s*Fetching ",
]

[on_success]
tail = 5

[on_failure]
tail = 10

Examples

installation failure shows error tail ~30 tokens → ~17 tokens (43% saved)
Raw output
    Updating crates.io index
  Downloading crates ...
error: could not find `Cargo.toml` in `/tmp` or any parent directory
Filtered output
error: could not find `Cargo.toml` in `/tmp` or any parent directory
successful install shows installed package line ~59 tokens → ~32 tokens (46% saved)
Raw output
    Updating crates.io index
  Downloading crates ...
  Downloaded ripgrep v14.1.0
   Compiling memchr v2.7.1
   Compiling ripgrep v14.1.0
    Installing ripgrep v14.1.0
     Installed package `ripgrep v14.1.0` at /home/user/.cargo/bin/rg
Filtered output
  Downloaded ripgrep v14.1.0
    Installing ripgrep v14.1.0
     Installed package `ripgrep v14.1.0` at /home/user/.cargo/bin/rg
Warning: Community filters are third-party code. Review the filter definition above before installing it in production environments.
Browse all filters