mirror of
https://github.com/Horizontal42/summarum.git
synced 2026-11-10 16:51:59 +03:00
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.
29 lines
750 B
TOML
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
|