-
Notifications
You must be signed in to change notification settings - Fork 123
/
Copy pathCargo.toml
42 lines (37 loc) · 1.13 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
[package]
name = "grammers-tl-types"
version = "0.7.0"
authors = ["Lonami Exo <[email protected]>"]
license = "MIT OR Apache-2.0"
description = """
Rust definitions for Telegram's API types and functions.
"""
homepage = "https://github.com/Lonami/grammers"
documentation = "https://docs.rs/grammers-tl-types"
repository = "https://github.com/Lonami/grammers"
keywords = ["telegram", "tl"]
categories = ["data-structures", "encoding"]
edition = "2021"
include = [
"build.rs",
"src/*.rs",
"tl/*.tl",
]
[build-dependencies]
grammers-tl-gen = { path = "../grammers-tl-gen", version = "0.7.0" }
grammers-tl-parser = { path = "../grammers-tl-parser", version = "1.1.2" }
[dev-dependencies]
toml = "0.8.19"
[features]
default = ["impl-debug", "impl-from-enum", "impl-from-type", "tl-api"]
deserializable-functions = []
impl-debug = []
impl-from-enum = []
impl-from-type = []
impl-serde = ["dep:serde", "dep:serde_derive", "dep:serde_bytes"]
tl-api = []
tl-mtproto = []
[dependencies]
serde = { version = "1.0.210", optional = true }
serde_bytes = { version = "0.11.15", optional = true }
serde_derive = { version = "1.0.210", optional = true }