[package]
edition = "2024"
name = "tg-cli"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = 'A "unix-like" utility for sending yourself Telegram messages from the terminal '
readme = "README.md"
license = "Unlicense"
repository = "https://github.com/Garfield1002/tg-rs"
[features]
cli = [
"dep:clap",
"dep:pretty_env_logger",
]
default = [
"cli",
"non-blocking",
]
non-blocking = []
[lib]
name = "tg_cli"
path = "src/lib.rs"
[[bin]]
name = "tg"
path = "src/main.rs"
required-features = ["cli"]
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.keyring]
version = "3"
features = [
"sync-secret-service",
"crypto-rust",
]
[dependencies.pretty_env_logger]
version = "0.5"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.teloxide]
version = "0.17.0"
features = ["macros"]
[dependencies.tokio]
version = "1.8"
features = [
"rt-multi-thread",
"macros",
"sync",
]
[dependencies.toml]
version = "0.8"