134 lines
2.4 KiB
TOML
134 lines
2.4 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
name = "tdlib-rs"
|
|
version = "1.2.0"
|
|
authors = [
|
|
"Federico Bruzzone <federico.bruzzone.i@gmail.com>",
|
|
"Andrea Longoni",
|
|
]
|
|
build = "build.rs"
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Rust wrapper around the Telegram Database Library."
|
|
homepage = "https://github.com/FedericoBruzzone/tdlib-rs"
|
|
documentation = "https://docs.rs/tdlib-rs"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"telegram",
|
|
"tdlib",
|
|
"tdjson",
|
|
"tdlib-rs",
|
|
"telegram-api",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/FedericoBruzzone/tdlib-rs"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = [
|
|
"docs",
|
|
"bots-only-api",
|
|
]
|
|
|
|
[package.metadata.system-deps]
|
|
tdjson = "1.8.29"
|
|
|
|
[features]
|
|
bots-only-api = []
|
|
default = []
|
|
docs = []
|
|
download-tdlib = [
|
|
"dep:reqwest",
|
|
"dep:zip",
|
|
]
|
|
local-tdlib = []
|
|
pkg-config = ["dep:system-deps"]
|
|
|
|
[lib]
|
|
name = "tdlib_rs"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "get_me"
|
|
path = "examples/get_me.rs"
|
|
|
|
[[example]]
|
|
name = "test_ci"
|
|
path = "examples/test_ci.rs"
|
|
|
|
[dependencies.dirs]
|
|
version = "6.0.0"
|
|
|
|
[dependencies.futures-channel]
|
|
version = "0.3"
|
|
|
|
[dependencies.log]
|
|
version = "0.4"
|
|
|
|
[dependencies.once_cell]
|
|
version = "1.18"
|
|
|
|
[dependencies.reqwest]
|
|
version = "0.12.4"
|
|
features = ["blocking"]
|
|
optional = true
|
|
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|
|
|
|
[dependencies.serde_json]
|
|
version = "1.0"
|
|
|
|
[dependencies.serde_with]
|
|
version = "3.2"
|
|
|
|
[dependencies.system-deps]
|
|
version = "7"
|
|
optional = true
|
|
|
|
[dependencies.zip]
|
|
version = "2.0.0"
|
|
optional = true
|
|
|
|
[dev-dependencies.tokio]
|
|
version = "1"
|
|
features = [
|
|
"macros",
|
|
"rt-multi-thread",
|
|
"sync",
|
|
"time",
|
|
]
|
|
|
|
[build-dependencies.reqwest]
|
|
version = "0.12.4"
|
|
features = ["blocking"]
|
|
optional = true
|
|
|
|
[build-dependencies.system-deps]
|
|
version = "7"
|
|
optional = true
|
|
|
|
[build-dependencies.tdlib-rs-gen]
|
|
version = "1.2.0"
|
|
|
|
[build-dependencies.tdlib-rs-parser]
|
|
version = "1.2.0"
|
|
|
|
[build-dependencies.zip]
|
|
version = "2.0.0"
|
|
optional = true
|