38 lines
1.1 KiB
TOML
38 lines
1.1 KiB
TOML
[package]
|
|
name = "blokator"
|
|
version = "0.5.3"
|
|
edition = "2021"
|
|
description = "Simple system-wide adblocker"
|
|
readme = "README.md"
|
|
repository = "https://gitlab.com/Tomkoid/blokator"
|
|
authors = ["Tomkoid <tomkoid@tomkoid.tk>"]
|
|
license = "GPL-3.0"
|
|
keywords = ["blokator", "system", "wide", "hosts", "adblocker"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[profile.release]
|
|
strip = true
|
|
lto = true
|
|
opt-level = "z"
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
|
|
[dependencies]
|
|
clap = { version = "3.2.17", default-features = false, features = ["std", "color", "suggestions", "derive"] }
|
|
dirs = { version = "4.0.0", default-features = false }
|
|
nix = { version = "0.25.0" }
|
|
regex = "1.7.0"
|
|
reqwest = { version = "0.11.11", features = ["blocking", "socks"] }
|
|
serde = { version = "1.0.147", features = ["derive"] }
|
|
spinners = "4.1.0"
|
|
tokio = { version = "1.36.0", features = ["rt", "full"] }
|
|
toml = "0.5.9"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
signal-hook = "0.3.14"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = {version = "0.3.8", features = ["winuser", "handleapi", "processthreadsapi", "securitybaseapi"]}
|
|
libc = "0.2.66"
|