feat: add sdl2 ttf feature for text rendering

This commit is contained in:
2026-03-19 01:35:20 +08:00
parent d89057de5b
commit 64f217fdc4

View File

@@ -15,46 +15,30 @@ name = "momentry_playground"
path = "src/lib.rs"
[dependencies]
# Desktop window management
tao = "0.30"
wry = "0.54"
# Video/Audio
sdl2 = "0.38"
sdl2 = { version = "0.38", features = ["ttf"] }
ffmpeg-sidecar = "2.4"
# Error handling
anyhow = "1.0"
thiserror = "2.0"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Async
tokio = { version = "1", features = ["full"] }
# HTTP client
reqwest = { version = "0.12", features = ["json"] }
# URL parsing
url = "2.5"
# Markdown (for potential MD viewing)
pulldown-cmark = "0.10"
# Logging
log = "0.4"
env_logger = "0.11"
# CLI
clap = { version = "4.5", features = ["derive"] }
dirs = "6"
# LRU Cache for YOLO frame caching
lru = "0.12"
# Time
chrono = "0.4"
[dev-dependencies]