From 64f217fdc4406159dee33594a0ad5622b2ecc08e Mon Sep 17 00:00:00 2001 From: Warren Lo Date: Thu, 19 Mar 2026 01:35:20 +0800 Subject: [PATCH] feat: add sdl2 ttf feature for text rendering --- Cargo.toml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4e31da7..9359b93 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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]