mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-06 04:52:55 +00:00
The metrics are served by an http endpoint, which is meant to be spawned in a new thread. In the future the endpoint will provide more APIs, but for the time being, we won't bother with proper routing.
27 lines
691 B
TOML
27 lines
691 B
TOML
[package]
|
|
name = "zenith_utils"
|
|
version = "0.1.0"
|
|
authors = ["Eric Seppanen <eric@zenith.tech>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
bincode = "1.3"
|
|
byteorder = "1.4.3"
|
|
bytes = "1.0.1"
|
|
hyper = { version = "0.14.7", features = ["server"] }
|
|
lazy_static = "1.4.0"
|
|
log = "0.4.14"
|
|
postgres = { git = "https://github.com/zenithdb/rust-postgres.git", rev="9eb0dbfbeb6a6c1b79099b9f7ae4a8c021877858" }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
thiserror = "1.0"
|
|
tokio = { version = "1.5.0", features = ["full"] }
|
|
|
|
zenith_metrics = { path = "../zenith_metrics" }
|
|
workspace_hack = { path = "../workspace_hack" }
|
|
rand = "0.8.3"
|
|
|
|
[dev-dependencies]
|
|
hex-literal = "0.3"
|
|
bytes = "1.0"
|