[package] name = "wh" version = "0.1.0" edition = "2024" publish = false [dependencies] # default-features = false because the default "simd" feature requires nightly (portable_simd). # Remaining features mirror the crate defaults: sqlite session store, tokio transport/runtime, ureq client. whatsapp-rust = { version = "0.7", default-features = false, features = ["sqlite-storage", "tokio-transport", "tokio-runtime", "ureq-client", "tokio-native", "signal"] } tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync", "time"] } ratatui = "0.30" reqwest = { version = "0.13", default-features = false, features = ["json", "rustls"] } # rusqlite 0.39 -> libsqlite3-sys 0.37, same as diesel 2.3 pulled by whatsapp-rust-sqlite-storage (links = "sqlite3"). rusqlite = { version = "0.39", features = ["bundled"] } serde = { version = "1", features = ["derive"] } serde_json = "1" toml = "1.1.8" anyhow = "1" qrcode = { version = "0.14", default-features = false } dirs = "7" base64 = "0.23" chrono = { version = "0.4", default-features = false, features = ["clock", "std"] } # Minimal synchronous HTTP server for the optional web control panel (web_port). tiny_http = "0.12" [profile.release] # Remove symbols and debug info from the binary. strip = true # Cross-crate link-time optimization: drops unused code and shrinks the binary. lto = true # Single codegen unit: better optimization and smaller size, slower release builds. codegen-units = 1 [lints.rust] # MSVC link.exe prints an informational "Creazione della libreria ... wh.lib/wh.exp" line because the binary exports symbols; it is not actionable. linker_messages = "allow"