55 lines
961 B
TOML
55 lines
961 B
TOML
[package]
|
|
name = "sn-client"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lints.rust]
|
|
unsafe_code = "forbid"
|
|
|
|
[lints.clippy]
|
|
std_instead_of_core = "warn"
|
|
str_to_string = "warn"
|
|
string_to_string = "warn"
|
|
semicolon_if_nothing_returned = "warn"
|
|
wildcard_imports = "warn"
|
|
inefficient_to_string = "warn"
|
|
|
|
[dependencies]
|
|
i18n-embed-fl = { version = "0.8.0", default-features = false }
|
|
rust-embed = { version = "8", default-features = false }
|
|
|
|
[dependencies.i18n-embed]
|
|
version = "0.14.1"
|
|
default-features = false
|
|
features = [
|
|
"rust-embed",
|
|
"fluent-system",
|
|
"desktop-requester",
|
|
]
|
|
|
|
[dependencies.toml]
|
|
version = "0.8.10"
|
|
default-features = false
|
|
features = ["parse"]
|
|
|
|
[dependencies.gtk]
|
|
version = "0.8.0"
|
|
default-features = false
|
|
package = "gtk4"
|
|
|
|
[dependencies.reqwest]
|
|
version = "0.12.4"
|
|
default-features = false
|
|
features = [
|
|
"blocking",
|
|
"rustls-tls",
|
|
"cookies",
|
|
"socks",
|
|
]
|
|
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
strip = true
|