# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "helr"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generic HTTP API log collector: polls APIs and emits NDJSON to stdout"
homepage = "https://github.com/timescale/helr"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/timescale/helr"

[features]
default = []
hooks = [
    "dep:boa_engine",
    "dep:boa_gc",
    "dep:boa_runtime",
]
testcontainers = []

[[bin]]
name = "helr"
path = "src/main.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "integration_testcontainers"
path = "tests/integration_testcontainers.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.8"
features = [
    "macros",
    "json",
]

[dependencies.base64]
version = "0.22"

[dependencies.boa_engine]
version = "0.21"
optional = true

[dependencies.boa_gc]
version = "0.21"
optional = true

[dependencies.boa_runtime]
version = "0.21"
features = [
    "fetch",
    "reqwest-blocking",
]
optional = true

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.governor]
version = "0.10"

[dependencies.jsonwebtoken]
version = "10"

[dependencies.nix]
version = "0.31"
features = ["signal"]

[dependencies.prometheus]
version = "0.14"

[dependencies.rand]
version = "0.10"

[dependencies.redis]
version = "1.0"
features = [
    "tokio-comp",
    "connection-manager",
]

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "form",
]

[dependencies.rsa]
version = "0.9"
features = ["sha2"]

[dependencies.rusqlite]
version = "0.38"
features = ["bundled"]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml_ng]
version = "0.10"

[dependencies.sha2]
version = "0.10"

[dependencies.shellexpand]
version = "3.1"

[dependencies.sysinfo]
version = "0.38"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-postgres]
version = "0.7"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[dev-dependencies.base64]
version = "0.22"

[dev-dependencies.insta]
version = "1.46"

[dev-dependencies.nix]
version = "0.31"
features = [
    "signal",
    "process",
]

[dev-dependencies.reqwest]
version = "0.13"
features = ["json"]

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.testcontainers]
version = "0.27"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "net",
]

[dev-dependencies.wiremock]
version = "0.6"
