# 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 = "tgt" version = "1.0.0" authors = [ "Federico Bruzzone ", "Andrea Longoni", ] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false default-run = "tgt" description = "A simple TUI for Telegram" homepage = "https://github.com/FedericoBruzzone/tgt" documentation = "https://docs.rs/crate/tgt/1.0.0" readme = "README.md" keywords = [ "tgt", "tgtui", "telegram", "tui", "tdlib", ] categories = [] license = "MIT OR Apache-2.0" repository = "https://github.com/FedericoBruzzone/tgt" [package.metadata.system-deps] tdjson = "1.8.29" [profile.dev] [profile.release] opt-level = "z" lto = true codegen-units = 1 strip = "debuginfo" [[bin]] name = "tgt" path = "src/main.rs" [[example]] name = "example" path = "examples/example.rs" [[example]] name = "example_chat_list" path = "examples/example_chat_list.rs" [[example]] name = "get_me" path = "examples/get_me.rs" [[example]] name = "telegram" path = "examples/telegram.rs" [dependencies.arboard] version = "3.4.0" features = [ "wayland-data-control", "wl-clipboard-rs", ] [dependencies.chrono] version = "0.4.38" [dependencies.clap] version = "4.5.13" features = ["derive"] [dependencies.config] version = "0.14.0" [dependencies.crossterm] version = "0.28.1" features = ["event-stream"] [dependencies.dirs] version = "5.0.1" [dependencies.futures] version = "0.3.30" [dependencies.image] version = "0.25.2" [dependencies.lazy_static] version = "1.5.0" [dependencies.ratatui] version = "0.27.0" [dependencies.ratatui-image] version = "1.0.5" [dependencies.serde] version = "1.0.204" [dependencies.signal-hook] version = "0.3.17" [dependencies.tdlib-rs] version = "1.0.5" [dependencies.tokio] version = "1.39.2" features = ["full"] [dependencies.tracing] version = "0.1.40" [dependencies.tracing-appender] version = "0.2" [dependencies.tracing-error] version = "0.2.0" [dependencies.tracing-subscriber] version = "0.3.18" features = [ "env-filter", "chrono", ] [build-dependencies.dirs] version = "5.0.1" [build-dependencies.reqwest] version = "0.12.4" features = ["blocking"] [build-dependencies.tdlib-rs] version = "1.0.5" [build-dependencies.zip] version = "2.1.6" [features] default = ["download-tdlib"] download-tdlib = ["tdlib-rs/download-tdlib"] local-tdlib = ["tdlib-rs/local-tdlib"] pkg-config = ["tdlib-rs/pkg-config"]