Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
114 lines (102 loc) · 3.17 KB
/
Copy pathCargo.toml
File metadata and controls
114 lines (102 loc) · 3.17 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[workspace]
members = [
"crates/core",
"crates/cf-workers",
"crates/metering",
"crates/path-mapping",
"crates/static-config",
"crates/sts",
"crates/oidc-provider",
"examples/server",
"examples/lambda",
"examples/cf-workers",
]
default-members = [
"crates/core",
"crates/metering",
"crates/path-mapping",
"crates/static-config",
"crates/sts",
"crates/oidc-provider",
"examples/server",
"examples/lambda",
]
resolver = "2"
[workspace.package]
version = "0.8.0" # x-release-please-version
edition = "2021"
license = "MIT"
[workspace.dependencies]
# Core
async-trait = "0.1"
thiserror = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
bytes = "1"
http = "1"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["v4", "js"] }
base64 = "0.22"
rand = "0.8"
hex = "0.4"
url = "2"
percent-encoding = "2"
matchit = "0.8"
# Crypto
hmac = "0.12"
sha2 = { version = "0.10", features = ["oid"] }
md-5 = "0.10"
rsa = "0.9"
aes-gcm = "0.10"
# Object store
# `aws-base` + `reqwest` + `ring` instead of `aws`: the `aws` feature hard-wires
# the `aws-lc-rs` crypto provider, which doesn't build on wasm32. `ring` provides
# signing on all targets; native TLS comes from `reqwest/rustls` in consumers.
object_store = { version = "0.14.0", default-features = false, features = ["aws-base", "reqwest", "ring"] }
futures = "0.3"
# XML
quick-xml = { version = "0.41", features = ["serialize"] }
# Auth
reqwest = { version = "0.13.2", default-features = false, features = ["rustls", "json"] }
# HTTP body
http-body = "1"
# Web framework
axum = { version = "0.8", default-features = false }
tower-service = "0.3"
# Server runtime
tokio = { version = "1", features = ["full"] }
hyper = { version = "1", features = ["full"] }
hyper-util = { version = "0.1", features = ["full"] }
http-body-util = "0.1"
tower = { version = "0.5", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Cloudflare Workers
# worker 0.7.5+ requires wasm-streams 0.5, which needs reqwest 0.13.2+ (via object_store 0.14)
worker = "0.7.5"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
js-sys = "0.3"
web-sys = { version = "0.3", features = [
"Headers",
"ReadableStream",
"Request",
"RequestCache",
"RequestInit",
"Response",
"ResponseInit",
"TransformStream",
"WritableStream",
] }
console_error_panic_hook = "0.1.7"
# Lambda
lambda_http = "0.13"
# Internal crates
multistore = { path = "crates/core", version = "0.8.0" } # x-release-please-version
multistore-static-config = { path = "crates/static-config", version = "0.8.0" } # x-release-please-version
multistore-sts = { path = "crates/sts", version = "0.8.0" } # x-release-please-version
multistore-metering = { path = "crates/metering", version = "0.8.0" } # x-release-please-version
multistore-cf-workers = { path = "crates/cf-workers", version = "0.8.0" } # x-release-please-version
multistore-oidc-provider = { path = "crates/oidc-provider", version = "0.8.0" } # x-release-please-version
multistore-path-mapping = { path = "crates/path-mapping", version = "0.8.0" } # x-release-please-version