syntaxis/shared/templates/rust-api/Cargo.toml.template
Jesús Pérez 9cef9b8d57 refactor: consolidate configuration directories
Merge _configs/ into config/ for single configuration directory.
Update all path references.

Changes:
- Move _configs/* to config/
- Update .gitignore for new patterns
- No code references to _configs/ found

Impact: -1 root directory (layout_conventions.md compliance)
2025-12-26 18:36:23 +00:00

31 lines
653 B
Plaintext

[package]
name = "{{TOOL_NAME}}-api"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "REST API server for {{TOOL_NAME}}"
[[bin]]
name = "{{tool_name_kebab}}-api"
path = "src/main.rs"
[dependencies]
{{TOOL_NAME}}-core = { path = "../core" }
axum = "0.7"
tokio = { workspace = true, features = ["full"] }
serde = { workspace = true }
serde_json = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[dev-dependencies]
tokio-test = "0.4"
[lints.rust]
unsafe_code = "forbid"
missing_docs = "warn"
[lints.clippy]
all = "warn"
pedantic = "warn"