macOS
brew install diesellocal Homebrew formula metadata
安装
brew install diesellocal Homebrew formula metadata
概览
Command-line tool for Rust ORM Diesel
历史
Diesel is a Rust ORM, query builder, and migration toolchain with a Homebrew-packaged CLI. Its public identity is type-safe database interaction for PostgreSQL, MySQL, and SQLite.
The Diesel repository was created in 2015 and describes the project as a safe, extensible ORM and query builder for Rust. Its README emphasizes reducing database boilerplate while using Rust's type system to catch query errors at compile time.
The official guide places the CLI in the normal project workflow: set DATABASE_URL in .env, run diesel setup, generate migrations, and let diesel.toml guide generated schema output.
Diesel grew with the Rust ecosystem as one of the main answers for developers who wanted SQL databases without giving up Rust's compile-time checks. The project publishes crates, API docs, guides, and frequent GitHub releases, which makes it natural for both Cargo and system package managers.
Developers use the diesel CLI to set up projects, manage migrations, and generate schema files, while application code uses Diesel's derive macros and query builder. The common local convention is a project diesel.toml plus a .env file containing DATABASE_URL.
For package nerds, Diesel is notable because the Homebrew formula exposes only the CLI, but that binary is the operational face of a larger Rust crate ecosystem and database-migration workflow.
安全态势
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.
diesel.toml.envCredential-bearing paths to review before unattended agent runs.
.env可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
diesel | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/diesel-rs/diesel
安装元数据
| 软件包键 | brew:diesel |
|---|---|
| 版本 | 2.3.11 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/diesel |
| 主页 | https://diesel.rs |
| 仓库 | https://github.com/diesel-rs/diesel |
| 上游文档 | https://diesel.rs/guides/getting-started |
| 许可证 | Apache-2.0 OR MIT |
| 源码归档 | https://github.com/diesel-rs/diesel/archive/refs/tags/v2.3.11.tar.gz |
| 最后更新 | 2026-07-10T07:04:39Z |
| Pulse | updated |
| 依赖 | libpq, mariadb-connector-c |
| 构建依赖 | rust |
| macOS 提供的库 | sqlite |
| 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 | diesel |
| 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 |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.