This repository was archived by the owner on Feb 10, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 163
Expand file tree
/
Copy pathCargo.toml
More file actions
53 lines (50 loc) · 1.6 KB
/
Cargo.toml
File metadata and controls
53 lines (50 loc) · 1.6 KB
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
[package]
name = "grammers-client"
version = "0.8.1"
authors = ["Lonami Exo <totufals@hotmail.com>"]
license = "MIT OR Apache-2.0"
description = """
A high level client to interact with Telegram's API.
"""
homepage = "https://github.com/Lonami/grammers"
documentation = "https://docs.rs/grammers-client"
repository = "https://github.com/Lonami/grammers"
keywords = ["mtproto", "telegram", "tl"]
categories = ["api-bindings"]
edition = "2024"
[features]
markdown = ["pulldown-cmark"]
html = ["html5ever"]
proxy = ["grammers-mtsender/proxy"]
parse_invite_link = ["url"]
fs = ["tokio/fs"]
default = ["fs"]
[dependencies]
chrono = "0.4.42"
futures-util = { version = "0.3.31", default-features = false, features = [
"alloc"
] }
grammers-crypto = { path = "../grammers-crypto", version = "0.8.0" }
grammers-mtsender = { path = "../grammers-mtsender", version = "0.8.1" }
grammers-session = { path = "../grammers-session", version = "0.8.0", default-features = false }
grammers-tl-types = { path = "../grammers-tl-types", version = "0.8.0", features = [
"tl-mtproto",
] }
html5ever = { version = "0.35.0", optional = true }
log = "0.4.28"
md5 = "0.8.0"
mime_guess = "2.0.5"
pin-project-lite = "0.2"
pulldown-cmark = { version = "0.13.0", default-features = false, optional = true }
tokio = { version = "1.47.1", default-features = false, features = [
"rt", "macros"
] }
url = { version = "2.5.7", optional = true }
[dev-dependencies]
tokio = { version = "1.47.1", default-features = false, features = [
"signal",
] }
simple_logger = { version = "5.0.0", default-features = false, features = [
"colors",
] }
toml = "0.9.8"