-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
109 lines (88 loc) · 2.22 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[package]
name = "tbot"
version = "0.6.7"
description = "Make cool Telegram bots with Rust easily."
repository = "https://gitlab.com/SnejUgal/tbot"
readme = "./readme.md"
license = "MIT"
authors = [
"SnejUgal <contact@snejugal.ru>",
"AlexStrNik <contact@alexstrnik.ru>",
]
edition = "2018"
keywords = [
"telegram",
"telegram-bot",
"telegram-bot-api",
]
categories = [
"api-bindings",
"asynchronous",
]
exclude = ["examples"]
[dependencies]
hyper = { version = "0.14.2", features = ["client", "http1", "server"], default-features = false }
hyper-proxy = { version = "0.9", default-features = false }
tokio = { version = "1", features = ["time", "rt", "net", "fs"] }
futures = "0.3"
serde_json = "1"
serde = { version = "1.0.34", features = ["derive"] }
hyper-tls = { version = "0.5", optional = true }
tokio-native-tls = { version = "0.3", optional = true }
native-tls = { version = "0.2", optional = true }
hyper-rustls = { version = "0.22", optional = true }
tokio-rustls = { version = "0.22", optional = true }
hyper-socks2 = { version = "0.6", default-features = false }
is-macro = "0.1.9"
tracing = "0.1"
tracing-futures = "0.2"
type-map = "0.5"
[dev-dependencies]
tokio = { version = "1", features = ["time", "macros", "rt", "rt-multi-thread", "net", "fs"] }
meval = "0.2"
rand = "0.8"
[features]
proxy = []
rustls = ["hyper-proxy/rustls", "hyper-socks2/rustls", "tokio-rustls", "hyper-rustls"]
tls = ["hyper-proxy/tls", "hyper-socks2/tls", "native-tls", "tokio-native-tls", "hyper-tls"]
default = ["tls"]
[[example]]
name = "attachments"
[[example]]
name = "commands"
[[example]]
name = "download"
[[example]]
name = "echo"
[[example]]
name = "game"
required-features = ["tokio/sync"]
[[example]]
name = "get_me"
[[example]]
name = "keyboard"
[[example]]
name = "location"
[[example]]
name = "messenger"
required-features = ["tokio/sync"]
[[example]]
name = "payment"
[[example]]
name = "polls"
[[example]]
name = "proxy"
[[example]]
name = "predicates"
[[example]]
name = "questionary"
required-features = ["tokio/sync"]
[[example]]
name = "sticker_packs"
[[example]]
name = "tutorial"
required-features = ["tokio/sync"]
[[example]]
name = "webhook"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]