# 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.0.5" authors = [ "Federico Bruzzone ", "Andrea Longoni", ] build = "build.rs" 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" [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 = "5.0.1" [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", ] [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.0.5" [build-dependencies.tdlib-rs-parser] version = "1.0.5" [build-dependencies.zip] version = "2.0.0" optional = true [features] bots-only-api = [] default = [] docs = [] download-tdlib = [ "dep:reqwest", "dep:zip", ] local-tdlib = [] pkg-config = ["dep:system-deps"]