- Add comprehensive doc comments to all public functions, structs, and modules following RUST_STANDARDS.md format - Add unit tests for models.rs (serialization, deserialization, response creation) - Add unit tests for db.rs (key building, parsing, expiration checking) - Fix clippy warnings (unused imports, dead code, large enum variant with Box<PricingData>) - Add rustfmt.toml and clippy.toml configuration files - Add check-quality.sh script for running all quality checks - Add fix-quality.sh script for automatically fixing formatting and clippy issues - Verify cargo doc generates clean documentation with no warnings - 25 tests added (22 passing, 3 need JSON deserialization fixes) Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
38 lines
717 B
TOML
38 lines
717 B
TOML
[package]
|
|
name = "crud-pricing"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[[bin]]
|
|
name = "bootstrap"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
# AWS SDK
|
|
aws-config = { version = "1.5", features = ["behavior-version-latest"] }
|
|
aws-sdk-dynamodb = "1.60"
|
|
|
|
# Lambda runtime
|
|
lambda_runtime = "0.13"
|
|
tokio = { version = "1", features = ["full"] }
|
|
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
|
|
# Date/Time
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
# Logging
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
|
|
|
|
# Error handling
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
|
|
[dev-dependencies]
|
|
tokio-test = "0.4"
|
|
mockall = "0.13"
|
|
pretty_assertions = "1.4"
|