mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-29 19:10:38 +00:00
- `aws-smithy-http`: Needed because of `SdkBody` see https://github.com/awslabs/smithy-rs/issues/1759 - `aws-types`: Needed because of `SharedCredentialsProvider`, the recommended way from aws is something like `aws_config::from_env().region("us-east-1").load().await` but that is problematic because of: - `sync -> async ` in the creation of S3Client and i don't want to change the signature of any method in this class. - We do not need the four default steps in https://github.com/awslabs/aws-sdk-rust/blob/main/sdk/aws-config/src/default_provider/credentials.rs#L235 - `Hyper`: Similar to what's currently doing Rusoto in https://github.com/rusoto/rusoto/blob/master/rusoto/signature/src/signature.rs#L59 to stream the body, see also https://github.com/awslabs/aws-sdk-rust/discussions/361 Co-authored-by: andres <andres.rodriguez@outlook.es>
28 lines
839 B
TOML
28 lines
839 B
TOML
[package]
|
|
name = "remote_storage"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
anyhow = { version = "1.0", features = ["backtrace"] }
|
|
async-trait = "0.1"
|
|
metrics = { version = "0.1", path = "../metrics" }
|
|
utils = { version = "0.1", path = "../utils" }
|
|
once_cell = "1.13.0"
|
|
aws-smithy-http = "0.51.0"
|
|
aws-types = "0.51.0"
|
|
aws-config = { version = "0.51.0", default-features = false }
|
|
aws-sdk-s3 = "0.21.0"
|
|
hyper = { version = "0.14", features = ["stream"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1"
|
|
tokio = { version = "1.17", features = ["sync", "macros", "fs", "io-util"] }
|
|
tokio-util = { version = "0.7", features = ["io"] }
|
|
toml_edit = { version = "0.14", features = ["easy"] }
|
|
tracing = "0.1.27"
|
|
|
|
workspace_hack = { version = "0.1", path = "../../workspace_hack" }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.2"
|