-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
87 lines (81 loc) · 1.99 KB
/
Cargo.toml
File metadata and controls
87 lines (81 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[package]
name = "s3-cache"
license = "MIT"
version = "0.1.14"
edition = "2024"
rust-version = "1.88"
[[bin]]
name = "s3_cache"
path = "src/bin/s3_cache.rs"
[[bin]]
name = "s3_cache_sim"
path = "src/bin/s3_cache_sim/main.rs"
required-features = ["sim"]
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 32
[dependencies]
async-trait = "0.1"
aws-config = { version = "1", features = ["behavior-version-latest"] }
aws-credential-types = { version = "1", features = ["hardcoded-credentials"] }
aws-sdk-s3 = "1"
bytes = "1"
hyper = { version = "1", features = ["http1", "http2", "server"] }
hyper-util = { version = "0.1", features = [
"server-auto",
"server-graceful",
"http1",
"http2",
"tokio",
] }
hyperloglockless = "0.5.0"
opentelemetry = { version = "0.31", default-features = false, features = [
"logs",
"metrics",
] }
opentelemetry-appender-tracing = "0.31"
opentelemetry-otlp = { version = "0.31", features = [
"grpc-tonic",
"gzip-tonic",
"logs",
"metrics",
] }
opentelemetry_sdk = { version = "0.31", default-features = false, features = [
"logs",
"metrics",
] }
s3s = "0.13.0-alpha.3"
s3s-aws = "0.13.0-alpha.3"
tokio = { version = "1", features = [
"rt-multi-thread",
"net",
"signal",
"macros",
"time",
"sync",
] }
tracing = "0.1"
mock_instant = { version = "0.6", optional = true }
clap = { version = "4", features = ["derive", "env"] }
rand = { version = "0.10", optional = true }
rand_distr = { version = "0.6", optional = true }
http = { version = "1", optional = true }
tracing-subscriber = { version = "0.3", features = [
"registry",
"std",
"fmt",
"env-filter",
] }
reqwest = "0.13.2"
[dev-dependencies]
http = "1"
http-body-util = "0.1"
hyper = { version = "1", features = ["client"] }
mock_instant = "0.6"
testcontainers = "0.27"
testcontainers-modules = { version = "0.15", features = ["minio"] }
[features]
mock-clock = ["dep:mock_instant"]
sim = ["dep:rand", "dep:rand_distr", "dep:http"]
docker-tests = []