# 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 = "fn0-worker"
version = "0.3.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Worker binary for the fn0 FaaS platform"
readme = false
license = "AGPL-3.0-only"
repository = "https://github.com/NamseEnt/fn0"

[[bin]]
name = "fn0-worker"
path = "src/main.rs"

[dependencies.adapt-cache]
version = "0.1.2"
package = "fn0-adapt-cache"

[dependencies.aes-gcm]
version = "0.10"

[dependencies.anyhow]
version = "1"

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

[dependencies.aws-config]
version = "1.1.7"
features = ["behavior-version-latest"]

[dependencies.aws-sdk-s3]
version = "=1.115.0"
default-features = false

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

[dependencies.color-eyre]
version = "0.6"

[dependencies.fn0]
version = "=0.2.13"

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "1"

[dependencies.http-body-util]
version = "0.1"

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

[dependencies.hyper-util]
version = "0.1"
features = ["full"]

[dependencies.opentelemetry]
version = "0.31"
features = [
    "logs",
    "metrics",
]

[dependencies.opentelemetry-appender-tracing]
version = "0.31"

[dependencies.opentelemetry-http]
version = "0.31"
features = ["reqwest"]

[dependencies.opentelemetry-otlp]
version = "0.31"
features = [
    "http-proto",
    "reqwest-client",
    "metrics",
    "logs",
]

[dependencies.opentelemetry_sdk]
version = "0.31"
features = [
    "logs",
    "rt-tokio",
]

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
default-features = false

[dependencies.rustls]
version = "=0.23.28"

[dependencies.rustls-pemfile]
version = "2"

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

[dependencies.serde_json]
version = "1"

[dependencies.tar]
version = "0.4"

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

[dependencies.tokio-rustls]
version = "0.26"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-opentelemetry]
version = "0.32"

[dependencies.tracing-subscriber]
version = "0.3"

[dependencies.zstd]
version = "0.13"

[profile.release]
debug = 2
