macOS
brew install rust-scriptlocal Homebrew formula metadata
sudo port install rust-scriptMacPorts ports tree · lang/rust-script/Portfile · ソース: api.github.com
brew / 順位 7666
rust-script のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install rust-scriptlocal Homebrew formula metadata
sudo port install rust-scriptMacPorts ports tree · lang/rust-script/Portfile · ソース: api.github.com
sudo apk add rust-scriptAlpine Linux edge package indexes · rust-script · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#rust-scriptnixpkgs package indexes · pkgs/by-name/ru/rust-script/package.nix · ソース: api.github.com
sudo pacman -S rust-scriptArch Linux sync databases · rust-script · ソース: geo.mirror.pkgbuild.com
winget install --id FredrikFornwall.Rust-Script -eWindows Package Manager source index · FredrikFornwall.Rust-Script · ソース: cdn.winget.microsoft.com
概要
Run Rust files and expressions as scripts without any setup or compilation step
履歴
rust-script runs Rust files or expressions without requiring users to manually create a Cargo project.
Fredrik Fornwall created rust-script to let Rust source files and expressions run with script-like ergonomics, including embedded Cargo manifests, Unix shebangs, and Windows file associations.
The official site documents Cargo and Homebrew installation and an Arch Linux package. source_facts.package-manager additionally records packages for Alpine, MacPorts, Nix, Windows Package Manager, and other ecosystems.
A user can invoke `rust-script` on a source file, use it in a Unix shebang, evaluate expressions in pipelines, or run tests and benchmarks. Embedded Cargo manifests declare dependencies, and generated build artifacts are cached for faster subsequent runs.
rust-script narrows the ergonomic gap between compiled Rust and scripting languages while retaining Cargo dependency resolution. It is notable to package users because installation is simple but execution creates and caches generated Cargo projects behind the scenes.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
rust-script | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/fornwall/rust-script
インストールメタデータ
| パッケージキー | brew:rust-script |
|---|---|
| バージョン | 0.36.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/rust-script |
| ホームページ | https://rust-script.org |
| リポジトリ | https://github.com/fornwall/rust-script |
| 上流ドキュメント | https://rust-script.org |
| ライセンス | Apache-2.0 |
| ソースアーカイブ | https://github.com/fornwall/rust-script/archive/refs/tags/0.36.0.tar.gz |
| 最終更新 | 2026-09-13T07:37:37Z |
| Pulse | updated |
| 依存関係 | rust |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | rust-script |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
rust-script
nix profile install nixpkgs#rust-scriptrust-script 0.36.0-r0
Run Rust files and expressions as scripts without any setup or compilation step
sudo apk add rust-scriptrust-script 0.36.0-2
Run Rust files and expressions as scripts without any setup or compilation
sudo pacman -S rust-scriptrust-script
sudo port install rust-scriptFredrikFornwall.Rust-Script
winget install --id FredrikFornwall.Rust-Script -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.