-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
39 lines (35 loc) · 1.24 KB
/
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
35
36
37
38
39
[package]
name = "actix-tools"
version = "0.1.2"
authors = ["Loggi Tecnologia LTDA <[email protected]>", "Gabriela Surita <[email protected]>"]
description = "Provide Plug&Play components for Actix and Actix-web to build modular, 12-factor compliant apps."
license = "MIT"
[dependencies]
actix = { version = "0.7", optional = true }
chrono = { version = "0.4", features = ["serde"], optional = true }
config = { version = "0.8", optional = true }
diesel = { version = "1.3", optional = true, features = ["r2d2", "postgres"] }
env_logger = { version = "0.5", optional = true }
influx_db_client = { version = "0.3", optional = true }
log = "0.4"
num_cpus = { version = "1.8" }
rumqtt = { version = "0.30.1", optional = true }
redis = { version = "0.8", optional = true }
r2d2 = { version = "0.8", optional = true }
r2d2_redis = { version = "0.7", optional = true }
sentry = { version = "0.23.0", optional = true }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
url = "1.7"
[features]
default = [
"json_logs",
"sentry",
"config",
]
json_logs = ["env_logger", "chrono"]
diesel_actors = ["actix", "r2d2", "diesel"]
influx_actors = ["actix", "influx_db_client"]
mqtt_actors = ["actix", "rumqtt"]
redis_actors = ["actix", "r2d2", "r2d2_redis", "redis"]