axum-rust-template

📁 eng0ai/eng0-template-skills 📅 Jan 24, 2026
16
总安装量
11
周安装量
#21296
全站排名
安装命令
npx skills add https://github.com/eng0ai/eng0-template-skills --skill axum-rust-template

Agent 安装分布

claude-code 8
gemini-cli 7
antigravity 7
trae 7
codex 7

Skill 文档

Axum Rust API

A Rust Axum API with Diesel ORM and DDD architecture.

Tech Stack

  • Framework: Axum
  • Language: Rust
  • ORM: Diesel
  • Architecture: DDD
  • Database: PostgreSQL

Prerequisites

  • Rust toolchain installed
  • PostgreSQL

Setup

1. Clone the Template

git clone --depth 1 https://github.com/Eng0AI/axum-rust-template.git .

If the directory is not empty:

git clone --depth 1 https://github.com/Eng0AI/axum-rust-template.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template

2. Remove Git History (Optional)

rm -rf .git
git init

3. Build Project

cargo build

4. Setup Database

Configure database and run Diesel migrations.

Development

cargo run