mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 05:52:55 +00:00
If there isn't any version specified for a dependency crate, Cargo may
choose a newer version. This could happen when Cargo.lock is updated
("cargo update") but can also happen unexpectedly when adding or
changing other dependencies. This can allow API-breaking changes to be
picked up, breaking the build.
To prevent this, specify versions for all dependencies. Cargo is still
allowed to pick newer versions that are (hopefully) non-breaking, by
analyzing the semver version number.
There are two special cases here:
1. serde_derive::{Serialize, Deserialize} isn't really used any more. It
was only a separate crate in the past because of compiler limitations.
Nowadays, people turn on the "derive" feature of the serde crate and
use serde::{Serialize, Deserialize}.
2. parse_duration is unmaintained and has an open security issue. (gh
iss. 87) That issue probably isn't critical for us because of where we
use that crate, but it's probably still better to pin the version so we
can't get hit with an API-breaking change at an awkward time.
45 lines
1.4 KiB
TOML
45 lines
1.4 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 = "1.0.1"
|
|
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"
|
|
termion = "1.5.6"
|
|
tui = "0.14.0"
|
|
daemonize = "0.4.1"
|
|
rust-s3 = { git = "https://github.com/hlinnaka/rust-s3", rev="7f15a24ec7daa0a5d9516da706212745f9042818", features = ["no-verify-ssl"] }
|
|
tokio = { version = "1.3.0", features = ["full"] }
|
|
tokio-stream = { version = "0.1.4" }
|
|
tokio-postgres = { git = "https://github.com/zenithdb/rust-postgres.git", rev="a0d067b66447951d1276a53fb09886539c3fa094" }
|
|
postgres-types = { git = "https://github.com/zenithdb/rust-postgres.git", rev="a0d067b66447951d1276a53fb09886539c3fa094" }
|
|
postgres-protocol = { git = "https://github.com/zenithdb/rust-postgres.git", rev="a0d067b66447951d1276a53fb09886539c3fa094" }
|
|
postgres = { git = "https://github.com/zenithdb/rust-postgres.git", rev="a0d067b66447951d1276a53fb09886539c3fa094" }
|
|
rocksdb = "0.16.0"
|
|
anyhow = "1.0"
|
|
crc32c = "0.6.0"
|
|
walkdir = "2"
|
|
thiserror = "1.0"
|
|
hex = "0.4.3"
|
|
tar = "0.4.33"
|
|
parse_duration = "2.1.1"
|
|
|
|
postgres_ffi = { path = "../postgres_ffi" }
|
|
zenith_utils = { path = "../zenith_utils" }
|