31 lines
770 B
TOML
31 lines
770 B
TOML
[package]
|
|
name = "swarm-metrics-auth"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[[bin]]
|
|
name = "swarm-metrics-auth"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
axum.workspace = true
|
|
# The read time in the fallback log line.
|
|
chrono.workspace = true
|
|
clap.workspace = true
|
|
serde.workspace = true
|
|
# Comparing the presented bearer with the stored one.
|
|
subtle.workspace = true
|
|
swarm-secret-client.workspace = true
|
|
tokio.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
# `test-util` for `#[tokio::test(start_paused = true)]`: the lookup-timeout
|
|
# test waits out `LOOKUP_TIMEOUT` on paused time.
|
|
[dev-dependencies]
|
|
mockall.workspace = true
|
|
tokio = { workspace = true, features = ["test-util"] }
|