mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 05: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.
50 lines
1.6 KiB
TOML
50 lines
1.6 KiB
TOML
[package]
|
|
name = "pageserver"
|
|
version = "0.1.0"
|
|
authors = ["Stas Kelvich <stas@zenith.tech>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
chrono = "0.4.19"
|
|
rand = "0.8.3"
|
|
regex = "1.4.5"
|
|
bytes = { version = "1.0.1", features = ['serde'] }
|
|
byteorder = "1.4.3"
|
|
futures = "0.3.13"
|
|
lazy_static = "1.4.0"
|
|
slog-stdlog = "4.1.0"
|
|
slog-async = "2.6.0"
|
|
slog-scope = "4.4.0"
|
|
slog-term = "2.8.0"
|
|
slog = "2.7.0"
|
|
log = "0.4.14"
|
|
clap = "2.33.0"
|
|
daemonize = "0.4.1"
|
|
rust-s3 = { version = "0.27.0-rc4", features = ["no-verify-ssl"] }
|
|
tokio = { version = "1.5.0", features = ["full"] }
|
|
tokio-stream = { version = "0.1.5" }
|
|
postgres-types = { git = "https://github.com/zenithdb/rust-postgres.git", rev="9eb0dbfbeb6a6c1b79099b9f7ae4a8c021877858" }
|
|
postgres-protocol = { git = "https://github.com/zenithdb/rust-postgres.git", rev="9eb0dbfbeb6a6c1b79099b9f7ae4a8c021877858" }
|
|
postgres = { git = "https://github.com/zenithdb/rust-postgres.git", rev="9eb0dbfbeb6a6c1b79099b9f7ae4a8c021877858" }
|
|
# by default rust-rocksdb tries to build a lot of compression algos. Use lz4 only for now as it is simplest dependency.
|
|
rocksdb = { version = "0.16.0", features = ["lz4"], default-features = false }
|
|
anyhow = "1.0"
|
|
crc32c = "0.6.0"
|
|
walkdir = "2"
|
|
thiserror = "1.0"
|
|
hex = "0.4.3"
|
|
tar = "0.4.33"
|
|
humantime = "2.1.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1"
|
|
fs_extra = "1.2.0"
|
|
toml = "0.5"
|
|
scopeguard = "1.1.0"
|
|
|
|
postgres_ffi = { path = "../postgres_ffi" }
|
|
zenith_metrics = { path = "../zenith_metrics" }
|
|
zenith_utils = { path = "../zenith_utils" }
|
|
workspace_hack = { path = "../workspace_hack" }
|