# 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 = "2018" name = "svc-utils" version = "0.8.0" description = "Bunch of reusable utilities" documentation = "https://docs.rs/svc-utils" readme = "README.md" license = "MIT" repository = "https://github.com/foxford/svc-utils-rs" [[example]] name = "http_metrics" [dependencies.axum] version = "0.6" [dependencies.futures] version = "0.3" [dependencies.http] version = "0.2" [dependencies.hyper] version = "0.14" features = ["server"] [dependencies.once_cell] version = "1.18" optional = true [dependencies.prometheus] version = "0.13" default-features = false [dependencies.svc-agent] version = "0.21" optional = true [dependencies.svc-authn] version = "0.8" features = ["jose"] optional = true [dependencies.svc-error] version = "0.5" optional = true [dependencies.tokio] version = "1.28" features = ["sync"] [dependencies.tower] version = "0.4" [dependencies.tower-http] version = "0.4" features = [ "cors", "trace", ] [dependencies.tracing] version = "0.1" [dependencies.url] version = "2.4" [dev-dependencies.signal-hook] version = "0.3" [dev-dependencies.signal-hook-tokio] version = "0.3" features = ["futures-v0_3"] [dev-dependencies.tokio] version = "1.28" features = ["full"] [dev-dependencies.tracing-futures] version = "0.2" [dev-dependencies.tracing-subscriber] version = "0.3" [features] authn-extractor = [ "svc-authn", "svc-agent", "svc-error", ] body-limit-middleware = [] cors-middleware = [] log-middleware = [] metrics-middleware = ["once_cell"]