fn0 0.2.14

FaaS platform powered by wasmtime
# 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"
version = "0.2.14"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "FaaS platform powered by wasmtime"
readme = false
license = "AGPL-3.0-only"
repository = "https://github.com/NamseEnt/fn0"

[lib]
name = "fn0"
path = "src/lib.rs"

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

[dependencies.anyhow]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.fn0-wasmtime]
version = "0.1.3"

[dependencies.futures]
version = "0.3"

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

[dependencies.hyper]
version = "1"
features = [
    "server",
    "client",
    "http1",
    "http2",
]

[dependencies.hyper-rustls]
version = "0.27"
features = [
    "webpki-roots",
    "http1",
    "http2",
    "ring",
    "tls12",
    "logging",
]
default-features = false

[dependencies.hyper-util]
version = "0.1"
features = [
    "service",
    "client",
    "client-legacy",
    "http1",
    "http2",
    "tokio",
]

[dependencies.libsql-hrana]
version = "0.9.29"

[dependencies.memberlist]
version = "0.7"
features = [
    "snappy",
    "tokio",
    "quinn",
]

[dependencies.oci-rust-sdk]
version = "0.4"

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

[dependencies.opentelemetry-otlp]
version = "0.31.0"
features = [
    "grpc-tonic",
    "reqwest-client",
    "metrics",
    "logs",
]

[dependencies.opentelemetry_sdk]
version = "0.31.0"
features = ["rt-tokio"]

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls-webpki-roots-no-provider",
    "json",
    "http2",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.ski]
version = "0.1.2"
package = "fn0-ski"

[dependencies.socket2]
version = "0.6.1"

[dependencies.sonic-rs]
version = "0.5.6"

[dependencies.struson]
version = "0.7"

[dependencies.sysinfo]
version = "0.37.2"

[dependencies.tokio]
version = "1.48"

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

[dependencies.tower]
version = "0.5"
features = [
    "timeout",
    "util",
]

[dependencies.tower-http]
version = "0.6.7"
features = ["timeout"]

[dependencies.tracing]
version = "0.1"

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

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

[dependencies.wasmtime]
version = "43"
features = [
    "runtime",
    "cranelift",
    "component-model",
    "component-model-async",
    "memory-protection-keys",
    "parallel-compilation",
    "cache",
]
default-features = false

[dependencies.wasmtime-wasi]
version = "43"
features = ["p3"]

[dependencies.wasmtime-wasi-http]
version = "43"
features = [
    "component-model-async",
    "p3",
    "default-send-request",
]

[dev-dependencies.h2]
version = "0.4"

[dev-dependencies.rcgen]
version = "0.14"

[dev-dependencies.rustls]
version = "0.23"
features = [
    "logging",
    "std",
    "tls12",
    "aws_lc_rs",
]
default-features = false

[dev-dependencies.rustls-pki-types]
version = "1"

[dev-dependencies.tokio]
version = "1.48"
features = [
    "macros",
    "rt-multi-thread",
    "time",
    "sync",
    "test-util",
]

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