macOS
brew install cargo-sortlocal Homebrew formula metadata
安装
brew install cargo-sortlocal Homebrew formula metadata
sudo apk add cargo-sortAlpine Linux edge package indexes · cargo-sort · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#cargo-sortnixpkgs package indexes · pkgs/by-name/ca/cargo-sort/package.nix · 来源: api.github.com
sudo pacman -S cargo-sortArch Linux sync databases · cargo-sort · 来源: geo.mirror.pkgbuild.com
概览
Tool to check that your Cargo.toml dependencies are sorted alphabetically
历史
cargo-sort is a Rust Cargo subcommand for checking and sorting Cargo.toml dependency tables and related TOML tables.
The project README says cargo-sort was created as an implementation of David Tolnay's request-for-implementation issue for alphabetically sorting Cargo.toml dependencies, and that it uses toml-edit to parse TOML.
GitHub records the repository as created in June 2019, while crates.io records the cargo-sort crate as first published in May 2021. The input package facts list it in Homebrew, Alpine, Nix, and Arch packaging.
The official README documents `cargo sort` as a cargo subcommand with default rewrite, check-only, print, workspace, custom table-order, grouped sorting, and `--config` modes.
cargo-sort matters to package maintainers because it turns Cargo.toml dependency ordering into a repeatable check, useful for CI and pre-commit workflows where noisy dependency diffs are annoying.
安全态势
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.
tomlfmt.toml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cargo-sort | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:cargo-sort |
|---|---|
| 版本 | 2.1.4 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/devinr528/cargo-sort |
| 仓库 | https://github.com/devinr528/cargo-sort |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cargo-sort
nix profile install nixpkgs#cargo-sortcargo-sort 2.1.4-r0
Check if tables and items in a .toml file are lexically sorted
https://github.com/DevinR528/cargo-sort
sudo apk add cargo-sortcargo-sort 2.1.4-1
Check if tables and items in a .toml file are lexically sorted
https://github.com/DevinR528/cargo-sort
sudo pacman -S cargo-sort来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.