-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
34 lines (32 loc) · 985 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[package]
name = "actix-telegram"
version = "0.0.5"
authors = ["Marat Safin <jeizsm@gmail.com>"]
description = "telegram bot api lib based on actix"
repository = "https://github.com/jeizsm/actix-telegram"
license = "MIT"
[dependencies]
actix = "0.7.9"
actix-web = "0.7.18"
actix-net = "0.2.6"
actix-telegram-derive = { path="./actix-telegram-derive", version="0.2" }
multipart-rfc7578 = { version = "0.6", features = ["actix-web"] }
futures = "0.1"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
tokio = "0.1"
log = "0.4"
env_logger = "0.6"
rustls = { version = "0.14", optional = true }
openssl = { version = "0.10", optional = true }
native-tls = { version = "0.2", optional = true }
bitflags = "1.0"
failure = "0.1"
[features]
default = ["tls-server", "rust-tls"]
server = []
tls-server = ["server"]
rust-tls = ["rustls", "actix-web/rust-tls", "actix-net/rust-tls"]
ssl = ["openssl", "actix-web/ssl", "actix-net/ssl"]
tls = ["native-tls", "actix-web/tls", "actix-net/tls"]