app/rust/Cargo.toml
2024-11-29 17:23:38 +08:00

35 lines
874 B
TOML

[package]
name = "rust"
version = "0.1.0"
edition = "2021"
[profile.release]
opt-level = "s"
strip = "debuginfo"
[lib]
crate-type = ["cdylib", "staticlib"]
[dependencies]
flutter_rust_bridge = "=2.6.0"
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros", "process"] }
futures = { version = "0.3", default-features = false, features = ["executor"] }
url = "2.5"
once_cell = "1.20"
reqwest = { version = "0.12", features = ["rustls-tls-webpki-roots", "cookies", "gzip", "json", "stream"] }
hickory-resolver = { version = "0.24" }
anyhow = "1.0"
scopeguard = "1.2"
notify-rust = "4"
asar = "0.3.0"
# golang support
rust2go = {version = "0.3.17"}
[build-dependencies]
rust2go = { version = "0.3.17", features = ["build"] }
[target.'cfg(windows)'.dependencies]
windows = { version = "0.58.0", features = ["Win32_UI_WindowsAndMessaging"] }
win32job = "2"