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

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
actix = "0.13"
actix-files = "0.6"
actix-http = "1.0.1"
actix-rt = "2.6"
actix-service = "2.0"
actix-web = "4.2"
anyhow = "1.0"
async-recursion = "1.0"
async-trait = "0.1.40"
bitflags = "1.2.1"
bytes = "1.2.1"
clap = { version = "3.1", features = ["derive"]}
console-subscriber = { version = "0.1.8", optional = true }
futures-core = "0.3.5"
futures-util = "0.3.5"
handlebars = "3.4"
indoc = "1.0"
lazy_static = "1.4.0"
log = "0.4"
mime = "0.3.16"
mime_guess = "2.0.3"
percent-encoding = "2.1.0"
pretty_env_logger = "0.4.0"
regex = "1.3"
rusoto_core = "0.48.0"
rusoto_credential = "0.48.0"
rusoto_s3 = "0.48.0"
serde = "1.0.115"
serde_derive = "1.0.115"
serde_json = "1.0"
snafu = "0.6.8"
tokio-stream = "0.1"
toml = "0.5"
url = "2.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.tokio-tar]
git = "https://github.com/vorot93/tokio-tar.git"
rev = "1bd30fbd1a219e8982571da48eb68f34317d1e15"

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

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

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