- Optimize release profile settings in Cargo.toml - Update Dockerfile to include additional binary - Modify compose.yml to adjust database URL for read/write mode - Improve error handling in API calls within api.ts - Refactor character properties in types.ts for clarity - Update Card component to reflect new character properties - Revise utility functions for better episode handling
34 lines
834 B
TOML
34 lines
834 B
TOML
[package]
|
|
name = "rick-and-morty"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.98"
|
|
axum = { version = "0.8.4", features = ["macros"] }
|
|
dotenvy = "0.15.7"
|
|
http = "1.3.1"
|
|
reqwest = { version = "0.12.22", features = ["json"] }
|
|
serde = { version = "1.0.219", features = ["derive"] }
|
|
serde_json = "1.0.140"
|
|
sqlx = { version = "0.8.6", features = [
|
|
"sqlite",
|
|
"runtime-tokio",
|
|
"tls-native-tls",
|
|
"macros",
|
|
"uuid",
|
|
] }
|
|
tokio = { version = "1.46.1", features = ["full"] }
|
|
tower = { version = "0.5.2", features = ["util"] }
|
|
tower-http = { version = "0.6.6", features = ["cors", "fs", "trace"] }
|
|
tracing = "0.1.41"
|
|
tracing-log = "0.2.0"
|
|
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "fmt"] }
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
strip = true
|