summarum/src-tauri/Cargo.toml
Andrew Pimenov b285f546c2 stream-cap rates responses instead of buffering then checking size
resp.bytes() already pulls the whole body into memory before the 5MB
check ran, so a malicious server could still OOM the process during
download. read_body_capped aborts mid-stream once the cap is hit.

also fix goal-seek probe fallback: it could update lo/hi to a genuine
bracket without ever setting found=true, throwing "no solution" on
cases that do have one.
2026-08-19 04:11:27 +03:00

29 lines
750 B
TOML

[package]
name = "summarum"
version = "1.2.7"
description = "Summarum — natural language calculator notebook"
edition = "2021"
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = ["tray-icon"] }
tauri-plugin-global-shortcut = "2"
tauri-plugin-autostart = "2"
tauri-plugin-single-instance = "2"
tauri-plugin-opener = "2"
tauri-plugin-dialog = "2"
tauri-plugin-updater = "2"
tauri-plugin-process = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "stream"] }
chrono = "0.4"
futures = "0.3.32"
[profile.release]
strip = true
lto = true
opt-level = "s"
codegen-units = 1