cargo-rustapi 0.1.528

The official CLI tool for the RustAPI framework. Scaffold new projects, run development servers, and manage database migrations.
[package]

name = "cargo-rustapi"

description = "The official CLI tool for the RustAPI framework. Scaffold new projects, run development servers, and manage database migrations."

documentation = "https://docs.rs/cargo-rustapi"

version.workspace = true

edition.workspace = true

authors.workspace = true

license.workspace = true

repository.workspace = true

keywords = ["web", "framework", "api", "cli", "scaffold"]

categories = ["command-line-utilities", "development-tools"]

rust-version.workspace = true

readme = "README.md"



[[bin]]

name = "cargo-rustapi"

path = "src/main.rs"



[dependencies]

# CLI

clap = { workspace = true }

dialoguer = { workspace = true }

indicatif = { workspace = true }

console = { workspace = true }



# File system

toml_edit = "0.22"

notify = { version = "8.0", optional = true }

notify-debouncer-mini = { version = "0.7", optional = true }



# Async

tokio = { workspace = true, features = ["process", "fs", "macros", "rt-multi-thread", "time", "signal", "sync", "io-std"] }



# Serialization

serde = { workspace = true }

serde_json = { workspace = true }

serde_yaml = "0.9"

toml = "1.1"



# HTTP client for fetching remote specs

reqwest = { version = "0.12", features = ["json", "multipart", "rustls-tls"], default-features = false, optional = true }



# MCP support (OpenAPI → MCP server generator)

rustapi-mcp = { workspace = true, optional = true }

rustapi-openapi = { workspace = true, optional = true }



# Utilities

tracing = { workspace = true }

tracing-subscriber = { workspace = true }

anyhow = "1.0"

open = { workspace = true }

chrono = { workspace = true }



[dev-dependencies]

tempfile = "3.26"

assert_cmd = "2.2"

predicates = "3.1"



[features]
default = ["remote-spec", "replay", "mcp", "cloud"]
native-watch = ["dep:notify", "dep:notify-debouncer-mini"]
remote-spec = ["dep:reqwest"]
replay = ["dep:reqwest"]
cloud = ["dep:reqwest"]
mcp = ["dep:rustapi-mcp", "dep:rustapi-openapi", "remote-spec"]