mirror of https://github.com/by-sonic/tglock.git
40 lines
864 B
TOML
40 lines
864 B
TOML
[package]
|
|
name = "tg_unblock"
|
|
version = "0.3.1"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "tg_unblock"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "tg_unblock"
|
|
path = "src/bin/cli.rs"
|
|
|
|
[[bin]]
|
|
name = "tg_unblock_gui"
|
|
path = "src/bin/gui.rs"
|
|
required-features = ["gui"]
|
|
|
|
[features]
|
|
gui = ["dep:eframe", "dep:egui", "dep:open"]
|
|
|
|
[dependencies]
|
|
tokio = { version = "1", features = ["full"] }
|
|
reqwest = { version = "0.12", features = ["blocking"] }
|
|
tokio-tungstenite = { version = "0.24", features = ["native-tls"] }
|
|
native-tls = "0.2"
|
|
futures-util = "0.3"
|
|
aes = "0.8"
|
|
ctr = "0.9"
|
|
cipher = "0.4"
|
|
clap = { version = "4", features = ["derive"] }
|
|
|
|
# GUI (optional)
|
|
eframe = { version = "0.31", optional = true }
|
|
egui = { version = "0.31", optional = true }
|
|
open = { version = "5", optional = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { version = "0.3", features = ["winuser"] }
|