How to config term ouput for cargo
⚓ Rust 📅 2025-12-09 👤 surdeus 👁️ 4[package]
name = "cargotest"
version = "0.1.0"
edition = "2024"
[dependencies]
tokio = "*"
clap = "4.5.53"
crossbeam = "0.8.4"
[term]
quiet = true # whether cargo output is quiet
verbose = false # whether cargo provides verbose output
color = 'never' # 禁止颜色 避免 ai 读取到颜色的转义字符
hyperlinks = false # 禁止终端超链接 - 减少 token 消耗
unicode = true # whether cargo can render output using non-ASCII unicode characters
progress.when = 'never' # whether cargo shows progress bar
progress.width = 80 # width of progress bar
progress.term-integration = true # whether cargo reports progress to terminal emulator
when I use cargo build in term , it is useless and it told me " unused manifest key: term"
Accroding to the Cargo Book -> The Cargo Book
term config should work
3 posts - 2 participants
🏷️ Rust_feed