# 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 = "2024"
name = "tg"
version = "0.9.1"
authors = ["Valeriy Sakharov <valeratrades@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Telegram CLI client"
readme = "README.md"
license = "BlueOak-1.0.0"
repository = "https://github.com/valeratrades/tg"

[package.metadata.cargo-machete]
ignored = ["color-eyre"]
rand = "0.8.5"

[lib]
name = "tg"
path = "src/lib.rs"

[[bin]]
name = "tg"
path = "src/main.rs"

[[test]]
name = "integration"
path = "tests/integration/main.rs"

[dependencies.clap]
version = "4.5.54"
features = ["derive"]

[dependencies.clap-stdin]
version = "0.8"

[dependencies.clap_complete]
version = "4"

[dependencies.color-eyre]
version = "0.6.5"

[dependencies.config]
version = "0.15.19"

[dependencies.derive-new]
version = "0.7.0"

[dependencies.derive_more]
version = "2"
features = [
    "display",
    "from_str",
]

[dependencies.dirs]
version = "6.0.0"

[dependencies.eyre]
version = "^0.6.12"

[dependencies.futures]
version = "0.3.31"

[dependencies.futures-util]
version = "^0.3.31"

[dependencies.grammers-client]
version = "0.8.1"

[dependencies.grammers-mtsender]
version = "0.8.1"

[dependencies.grammers-session]
version = "0.8.0"

[dependencies.grammers-tl-types]
version = "0.8.0"

[dependencies.jiff]
version = "0.2"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.13.1"
features = [
    "rustls",
    "json",
    "multipart",
    "query",
    "form",
]
default-features = false

[dependencies.serde]
version = "^1.0.228"

[dependencies.serde_json]
version = "^1.0.148"

[dependencies.tokio]
version = "^1.49.0"
features = ["full"]

[dependencies.toml]
version = "^0.9.10"

[dependencies.tracing]
version = "^0.1.44"

[dependencies.v_utils]
version = "^2.15.16"
features = [
    "io",
    "distributions",
    "macros",
    "cli",
    "xdg",
]

[dependencies.xattr]
version = "1.6.1"

[dev-dependencies.insta]
version = "1.45.1"
