2022-11-03 15:23:59 +01:00
|
|
|
[package]
|
2025-03-17 21:16:04 +01:00
|
|
|
name = "AshBat"
|
2025-03-06 13:56:00 +01:00
|
|
|
edition = "2024"
|
|
|
|
|
|
|
|
[lints.rust]
|
|
|
|
unsafe_code = "forbid"
|
|
|
|
|
|
|
|
[lints.clippy]
|
|
|
|
std_instead_of_core = "warn"
|
|
|
|
str_to_string = "warn"
|
|
|
|
string_to_string = "warn"
|
|
|
|
uninlined_format_args = "warn"
|
|
|
|
semicolon_if_nothing_returned = "warn"
|
|
|
|
wildcard_imports = "warn"
|
|
|
|
inefficient_to_string = "warn"
|
2022-11-03 15:23:59 +01:00
|
|
|
|
|
|
|
[dependencies]
|
2025-03-09 13:18:20 +01:00
|
|
|
gtk = { version = "0.9", package = "gtk4", features = ["v4_12"]}
|
2025-03-08 15:06:24 +01:00
|
|
|
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
|
|
|
|
glib = "0.20"
|
|
|
|
ego-tree = "0.10"
|
2025-03-08 17:00:23 +01:00
|
|
|
html-escape = "0.2"
|
2025-03-12 20:53:45 +01:00
|
|
|
pango = "0.20"
|
2025-03-17 21:16:04 +01:00
|
|
|
i18n-embed = { version = "0.15", features = ["fluent-system", "desktop-requester"]}
|
|
|
|
rust-embed = "8"
|
|
|
|
i18n-embed-fl = "0.9"
|
|
|
|
once_cell = "1.21"
|
2023-03-05 00:28:08 +01:00
|
|
|
|
2025-03-08 15:06:24 +01:00
|
|
|
[dependencies.scraper]
|
|
|
|
version = "0.23"
|
|
|
|
default-features = false
|
|
|
|
|
|
|
|
[dependencies.reqwest]
|
|
|
|
version = "0.12"
|
|
|
|
default-features = false
|
|
|
|
features = ["rustls-tls", "socks", "http2", "gzip", "deflate", "brotli", "zstd"]
|
2023-03-05 00:28:08 +01:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
opt-level = "z"
|
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|
|
|
|
panic = "abort"
|
|
|
|
strip = true
|