pkg.soopen package index

brew / 排名 6399

使用 Homebrew, apk, Nix, pacman 安装 cargo-sort

查看 cargo-sort 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install cargo-sort

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add cargo-sort

Alpine Linux edge package indexes · cargo-sort · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#cargo-sort

nixpkgs package indexes · pkgs/by-name/ca/cargo-sort/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S cargo-sort

Arch Linux sync databases · cargo-sort · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Tool to check that your Cargo.toml dependencies are sorted alphabetically

命令和别名

  • cargo-sort

历史

项目历史与用法

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.

时间线

  • 2019: GitHub repository created.
  • 2021: First crates.io release recorded.
  • 2026: crates.io records max_version 2.1.4.

Related projects

  • The README credits toml-edit as the TOML parser and links the original request-for-implementation issue.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
tomlfmt.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cargo-sort可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本2.1.4
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:cargo-sort
版本2.1.4
软件包管理器Homebrew
主页https://github.com/devinr528/cargo-sort
仓库https://github.com/devinr528/cargo-sort
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

cargo-sort

nix profile install nixpkgs#cargo-sort
  • normalized package name match
  • 匹配方式:Cargo Sort
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cargo-sort/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

cargo-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-sort
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: cargo-sort
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Cargo Sort
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-sort from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

cargo-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
  • License: Apache-2.0 AND MIT
  • Architecture: x86_64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Cargo Sort
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cargo-sort from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation