macOS
brew install cargo-features-managerlocal Homebrew formula metadata
安装
brew install cargo-features-managerlocal Homebrew formula metadata
nix profile install nixpkgs#cargo-features-managernixpkgs package indexes · pkgs/by-name/ca/cargo-features-manager/package.nix · 来源: api.github.com
概览
TUI like cli tool to manage the features of your rust-project dependencies
历史
cargo-features-manager is a Rust Cargo helper that provides a terminal UI for enabling, disabling, and pruning dependency features in Cargo.toml. It focuses on a pain point that appears once Rust projects accumulate optional dependencies and feature-driven configuration.
The GitHub repository was created in April 2023 and the crate was published on crates.io days later. The README describes a TUI-like CLI that lets users view available dependency features and toggle them, with changes written directly back to Cargo.toml.
The README now states that the project has moved to Tangled, while crates.io metadata also lists Tangled as the homepage and repository. The GitHub repository remains the documentation URL supplied by the package input, but the upstream project identity has shifted.
Adoption is specialized but visible: the supplied package-manager facts list Homebrew and Nix packages, and crates.io records tens of thousands of downloads. It serves maintainers who tune feature flags more often than the average Cargo user.
The addition of `cargo features prune`, documented in the README, moves the tool beyond manual toggling toward automated feature minimization with safeguards for known false positives.
Users run `cargo features` in a project root to open a dependency selector and feature selector, then toggle features with keyboard navigation. `cargo features -d <dependency>` jumps directly to a dependency's feature selector.
`cargo features prune` attempts to disable features not required for compilation, with flags such as `--dry-run`, `--only-dependency`, `--skip-tests`, and a Cargo.toml `cargo-features-manager.keep` section for features that should be preserved.
cargo-features-manager is notable because Cargo feature sets are one of Rust packaging's more subtle sources of compile time, dependency surface, and behavior changes. A TUI for toggling and pruning features makes that metadata more inspectable than hand-editing arrays in Cargo.toml.
Its false-positive list and keep configuration show the hard part of feature minimization: not every unused-looking feature is semantically safe to remove.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
Cargo.toml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cargo-features | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/ToBinio/cargo-features-manager
安装元数据
| 软件包键 | brew:cargo-features-manager |
|---|---|
| 版本 | 0.11.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cargo-features-manager |
| 主页 | https://tangled.org/tobinio.dev/cargo-features-manager |
| 仓库 | https://github.com/ToBinio/cargo-features-manager |
| 上游文档 | https://github.com/ToBinio/cargo-features-manager#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/ToBinio/cargo-features-manager/archive/refs/tags/v0.11.1.tar.gz |
| 最后更新 | 2026-07-17T21:31:54+09:00 |
| Pulse | updated |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cargo-features-manager |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cargo-features-manager
nix profile install nixpkgs#cargo-features-manager来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.