| 12345678910111213141516171819202122232425262728293031323334353637 |
- [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"
- # rustls-no-provider + ring: avoids aws-lc-sys, a large C build that dominates cross-compile time.
- reqwest = { version = "0.13", default-features = false, features = ["json", "rustls-no-provider"] }
- # Crypto provider installed at startup for reqwest (ring is already built for whatsapp-rust).
- rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }
- # 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"
- # svg: QR code of the web panel pairing screen (no extra dependencies).
- qrcode = { version = "0.14", default-features = false, features = ["svg"] }
- 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
- [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"
|