# 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 = "ff-observability-http"
version = "0.9.0"
authors = ["FlowFabric Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "FlowFabric consumer-side Prometheus /metrics HTTP endpoint — bridges ff-observability's registry to an axum Router for consumers embedding ff-sdk without ff-server"
homepage = "https://github.com/avifenesh/FlowFabric"
readme = false
keywords = [
    "valkey",
    "execution-engine",
    "workflow",
    "async",
]
categories = [
    "database",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/avifenesh/FlowFabric"

[features]
default = []
enabled = ["ff-observability/enabled"]

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

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

[dependencies.axum]
version = "0.8"

[dependencies.ff-observability]
version = "0.9.0"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "net",
    "time",
    "sync",
    "macros",
    "net",
]

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