[package]
edition = "2024"
name = "telegram-escape"
version = "0.4.0"
authors = ["Vlad Stepanov <utterstep@hey.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Escape text for Telegram's MarkdownV2 format"
homepage = "https://github.com/utterstep/telegram-escape"
readme = "README.md"
license = "MIT"
[features]
python = ["dep:pyo3"]
[lib]
name = "telegram_escape"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[test]]
name = "telegram_integration"
path = "tests/telegram_integration.rs"
[dependencies.pyo3]
version = "0.28"
features = ["extension-module"]
optional = true
[dev-dependencies.dotenvy]
version = "0.15"
[dev-dependencies.envy]
version = "0.4"
[dev-dependencies.pretty_assertions]
version = "1.3"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.teloxide]
version = "0.17"
features = ["macros"]
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]