-
Notifications
You must be signed in to change notification settings - Fork 15
/
Cargo.toml
76 lines (69 loc) · 2 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[package]
name = "tgt"
version = "1.0.0"
edition = "2021"
description = "A simple TUI for Telegram"
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/crate/tgt/1.0.0"
homepage = "https://github.com/FedericoBruzzone/tgt"
repository = "https://github.com/FedericoBruzzone/tgt"
readme = "README.md"
keywords = [
"tgt",
"tgtui",
"telegram",
"tui",
"tdlib",
]
authors = [
"Federico Bruzzone <[email protected]>",
"Andrea Longoni",
]
default-run = "tgt"
build = "build.rs"
categories = []
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
# [toolchain]
# channel = "nightly-2020-07-10"
# components = [ "rustfmt", "rustc-dev" ]
# targets = [ "wasm32-unknown-unknown", "thumbv2-none-eabi" ]
# profile = "minimal"
[features]
# By deafult you need to set the `LOCAL_TDLIB_PATH` environment variable to the path of the TDLib library. See CONTRIBUTING.md for more information.
default = ["download-tdlib"]
local-tdlib = ["tdlib-rs/local-tdlib"]
download-tdlib = ["tdlib-rs/download-tdlib"]
pkg-config = ["tdlib-rs/pkg-config"]
[package.metadata.system-deps]
tdjson = "1.8.29"
[dependencies]
config = "0.14.1"
crossterm = { version = "0.28.1", features = ["event-stream"] }
dirs = "5.0.1"
futures = "0.3.31"
lazy_static = "1.5.0"
ratatui = "0.29.0"
serde = "1.0.216"
tdlib-rs = "1.0.5"
tokio = { version = "1.42.0", features = ["full"] }
tracing = "0.1.41"
tracing-error = "0.2.1"
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "chrono"] }
tracing-appender = "0.2"
arboard = { version = "3.4.1", features = ["wayland-data-control", "wl-clipboard-rs"] }
chrono = "0.4.39"
ratatui-image = "3.0.0"
image = "0.25.5"
signal-hook = "0.3.17"
clap = { version = "4.5.23", features = ["derive"] }
[build-dependencies]
dirs = "5.0.1"
reqwest = { version = "0.12.9", features = ["blocking"] }
zip = { version = "2.2.1" }
tdlib-rs = "1.0.5"
[profile.dev]
[profile.release]
lto = true
opt-level = 'z'
codegen-units = 1
strip = "debuginfo"