-
Notifications
You must be signed in to change notification settings - Fork 114
/
Cargo.toml
36 lines (33 loc) · 1.33 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
[package]
name = "grammers-mtsender"
version = "0.7.0"
authors = ["Lonami Exo <[email protected]>"]
license = "MIT OR Apache-2.0"
description = """
A sender implementation using the Mobile Transport Protocol.
"""
homepage = "https://github.com/Lonami/grammers"
documentation = "https://docs.rs/grammers-mtsender"
repository = "https://github.com/Lonami/grammers"
keywords = ["api", "mtproto", "telegram", "tl"]
categories = ["api-bindings", "network-programming"]
edition = "2021"
[features]
proxy = ["tokio-socks", "hickory-resolver", "url"]
[dependencies]
bytes = "1.7.1"
futures-util = { version = "0.3.30", default-features = false, features = [
"alloc"
] }
grammers-crypto = { path = "../grammers-crypto", version = "0.7.0" }
grammers-mtproto = { path = "../grammers-mtproto", version = "0.7.0" }
grammers-tl-types = { path = "../grammers-tl-types", version = "0.7.0", features = [ "tl-mtproto" ] }
log = "0.4.22"
tokio = { version = "1.40.0", default-features = false, features = ["net", "io-util", "sync", "time"] }
tokio-socks = { version = "0.5.2", optional = true }
hickory-resolver = { version = "0.24.1", optional = true }
url = { version = "2.5.2", optional = true }
[dev-dependencies]
simple_logger = { version = "5.0.0", default-features = false, features = ["colors"] }
tokio = { version = "1.40.0", features = ["rt"] }
toml = "0.8.19"