[package]
name = "espresso"
version = "2.0.0"
authors = ["Eduardo Trujillo <ed@chromabits.com>"]
edition = "2018"

[dependencies]
actix = "0.13"
actix-files = "0.6"
actix-http = "3.7"
actix-rt = "2.9"
actix-service = "2.0"
actix-web = "4.6"
anyhow = "1.0"
async-recursion = "1.0"
async-trait = "0.1"
bitflags = "2.5"
bytes = "1.6"
clap = { version = "3.1", features = ["derive"]}
console-subscriber = { version = "0.2", optional = true }
futures-core = "0.3.5"
futures-util = "0.3.5"
handlebars = "5.1"
indoc = "1.0"
lazy_static = "1.4"
log = "0.4"
mime = "0.3"
mime_guess = "2.0"
percent-encoding = "2.3"
pretty_env_logger = "0.5"
regex = "1.3"
rusoto_core = "0.48.0"
rusoto_credential = "0.48.0"
rusoto_s3 = "0.48.0"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
thiserror = "1.0"
tokio-stream = "0.1"
toml = "0.5"
url = "2.5"
tokio-tar = "0.3.1"

[dependencies.collective]
git = "https://gitlab.chromabits.com/etcinit/collective.git"
rev = "f6f46f690d63f142ad6c5e95dd806d24b9cea6d4"

[dependencies.tokio]
version = "1.0"
features = ["signal", "macros", "fs", "sync"]

[dependencies.tokio-util]
version = "0.7"
features = ["codec"]

[dependencies.async-compression]
version = "0.4"
features = ["gzip", "tokio"]

[dev-dependencies]
actix-test = "0.1.0"

[features]
console-subscriber = ["dep:console-subscriber", "tokio/tracing"]