1
0
card/Cargo.toml
2025-06-08 06:42:03 +09:00

58 lines
1.3 KiB
TOML

[package]
name = "aicard"
version = "0.1.0"
edition = "2021"
description = "ai.card - Autonomous card collection system with atproto integration"
authors = ["syui"]
[[bin]]
name = "aicard"
path = "src/main.rs"
[dependencies]
# Core Web Framework
axum = { version = "0.7", features = ["macros", "multipart"] }
tokio = { version = "1.0", features = ["full"] }
tower = { version = "0.4", features = ["full"] }
tower-http = { version = "0.5", features = ["cors", "trace"] }
# Database & ORM
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "postgres", "sqlite", "uuid", "chrono", "migrate"] }
uuid = { version = "1.0", features = ["v4", "serde"] }
# Serialization & Validation
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
validator = { version = "0.18", features = ["derive"] }
# Date/Time
chrono = { version = "0.4", features = ["serde"] }
# Authentication & Security
jsonwebtoken = "9.0"
bcrypt = "0.15"
# HTTP Client (for atproto integration)
reqwest = { version = "0.11", features = ["json"] }
# Configuration
config = "0.13"
dotenvy = "0.15"
# CLI
clap = { version = "4.0", features = ["derive"] }
# Random (for gacha system)
rand = "0.8"
# Error Handling
anyhow = "1.0"
thiserror = "1.0"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Development
serde_yaml = "0.9"
dirs = "5.0"