teloxide/Cargo.toml

91 lines
2.5 KiB
TOML
Raw Normal View History

2019-09-01 18:51:07 +02:00
[package]
2019-12-07 20:30:15 +01:00
name = "teloxide"
2020-10-30 08:45:22 +01:00
version = "0.3.3"
2019-09-01 18:51:07 +02:00
edition = "2018"
2020-02-14 12:10:49 +01:00
description = "An elegant Telegram bots framework for Rust"
repository = "https://github.com/teloxide/teloxide"
documentation = "https://docs.rs/teloxide/"
readme = "README.md"
2020-02-19 18:14:45 +01:00
keywords = ["teloxide", "telegram", "telegram-bot", "telegram-bot-api"]
2020-02-14 12:10:49 +01:00
license = "MIT"
2020-02-19 17:37:12 +01:00
exclude = ["media"]
2020-02-19 17:05:04 +01:00
authors = [
"Temirkhan Myrzamadi <hirrolot@gmail.com>",
"Waffle Lapkin <waffle.lapkin@gmail.com>",
"p0lunin <dmytro.polunin@gmail.com>",
2020-02-19 18:14:45 +01:00
"Mishko torop'izhko",
"Mr-Andersen",
2020-02-19 17:05:04 +01:00
"Sergey Levitin <selevit@gmail.com>",
"Rustem B. <bakirov.com@yandex.ru>",
2020-02-19 17:55:24 +01:00
"Alexey Fedechkin <aleksey-fedechkin@rambler.ru>"
2020-02-19 17:05:04 +01:00
]
2020-02-14 12:10:49 +01:00
[badges]
maintenance = { status = "actively-developed" }
2019-09-01 18:51:07 +02:00
[features]
sqlite-storage = ["sqlx"]
redis-storage = ["redis"]
cbor-serializer = ["serde_cbor"]
bincode-serializer = ["bincode"]
2019-09-01 18:51:07 +02:00
2020-07-25 23:10:48 +02:00
frunk- = ["frunk"]
macros = ["teloxide-macros"]
nightly = [] # currently used for `README.md` tests and building docs for `docsrs` to add `This is supported on feature="..." only.`
2019-09-01 18:51:07 +02:00
[dependencies]
2020-07-10 22:10:52 +02:00
serde_json = "1.0.55"
2020-07-10 19:55:12 +02:00
serde = { version = "1.0.114", features = ["derive"] }
2020-07-31 15:42:11 +02:00
tokio = { version = "0.2.21", features = ["fs", "stream"] }
2020-07-31 15:58:41 +02:00
tokio-util = "0.3.1"
2020-07-10 19:55:12 +02:00
reqwest = { version = "0.10.6", features = ["json", "stream"] }
2020-01-04 21:35:25 +01:00
log = "0.4.8"
2020-02-17 23:19:16 +01:00
lockfree = "0.5.1"
2020-07-10 19:55:12 +02:00
bytes = "0.5.5"
2020-01-21 20:41:32 +01:00
mime = "0.3.16"
2020-01-04 21:35:25 +01:00
2020-07-10 19:55:12 +02:00
derive_more = "0.99.9"
thiserror = "1.0.20"
async-trait = "0.1.36"
futures = "0.3.5"
pin-project = "0.4.22"
serde_with_macros = "1.1.0"
sqlx = { version = "0.4.0-beta.1", optional = true, default-features = false, features = [
"runtime-tokio",
"macros",
2020-10-19 01:15:46 +02:00
"sqlite",
"runtime-tokio-native-tls",
] }
2020-07-16 14:59:33 +02:00
redis = { version = "0.16.0", optional = true }
serde_cbor = { version = "0.11.1", optional = true }
2020-07-10 19:55:12 +02:00
bincode = { version = "1.3.1", optional = true }
2020-07-28 16:58:23 +02:00
frunk = { version = "0.3.1", optional = true }
teloxide-macros = { git = "https://github.com/teloxide/teloxide-macros", branch = "master", optional = true }
2020-02-14 09:41:03 +01:00
[dev-dependencies]
smart-default = "0.6.0"
rand = "0.7.3"
pretty_env_logger = "0.4.0"
lazy_static = "1.4.0"
2020-07-31 15:42:11 +02:00
tokio = { version = "0.2.21", features = ["fs", "stream", "rt-threaded", "macros"] }
[package.metadata.docs.rs]
all-features = true
2020-10-25 16:55:04 +01:00
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "redis"
path = "tests/redis.rs"
required-features = ["redis-storage", "cbor-serializer", "bincode-serializer"]
2020-10-24 18:51:55 +02:00
[[test]]
name = "sqlite"
path = "tests/sqlite.rs"
required-features = ["sqlite-storage", "cbor-serializer", "bincode-serializer"]