-
-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathCargo.toml
216 lines (198 loc) · 6.62 KB
/
Cargo.toml
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
[workspace]
resolver = "2"
members = [
"cli",
"crates/base",
"crates/base_mem_check",
"crates/base_rt",
"crates/cpu_timer",
"crates/deno_facade",
"crates/eszip_trait",
"crates/fs",
"crates/http_utils",
"deno",
"ext/ai",
"ext/ai/utilities",
"ext/env",
"ext/event_worker",
"ext/node",
"ext/os",
"ext/runtime",
"ext/workers",
]
[workspace.package]
authors = ["Supabase <[email protected]>"]
edition = "2021"
license = "MIT"
repository = "https://github.com/supabase/edge-runtime"
[workspace.dependencies]
deno = { path = "./deno" }
deno_ast = { version = "=0.44.0", features = ["transpiling"] }
deno_core = "0.324.0"
deno_cache_dir = "=0.14.0"
deno_config = { version = "=0.39.3", features = ["workspace", "sync"] }
deno_graph = "=0.86.3"
deno_lockfile = "=0.23.2"
deno_media_type = { version = "0.2.0", features = ["module_specifier"] }
deno_npm = "=0.26.0"
deno_package_json = { version = "0.2.1", default-features = false }
deno_path_util = "=0.2.1"
deno_permissions = "0.42.0"
deno_semver = "=0.6.1"
deno_telemetry = "0.4.0"
# upstream exts
deno_broadcast_channel = "0.176.0"
deno_cache = "0.114.0"
deno_canvas = "0.51.0"
deno_console = "0.182.0"
deno_crypto = "0.196.0"
deno_fetch = "0.206.0"
deno_fs = { version = "0.92.0", features = ["sync_fs"] }
deno_http = "0.180.0"
deno_io = "0.92.0"
deno_net = "0.174.0"
deno_tls = "0.169.0"
deno_url = "0.182.0"
deno_web = "0.213.0"
deno_webgpu = "0.149.0"
deno_webidl = "0.182.0"
deno_websocket = "0.187.0"
deno_webstorage = "0.177.0"
# local crates
base = { version = "0.1.0", path = "./crates/base" }
base_mem_check = { version = "0.1.0", path = "./crates/base_mem_check" }
base_rt = { version = "0.1.0", path = "./crates/base_rt" }
cli = { version = "0.1.0", path = "./cli" }
cpu_timer = { version = "0.1.0", path = "./crates/cpu_timer" }
deno_facade = { version = "0.1.0", path = "./crates/deno_facade" }
eszip_trait = { version = "0.1.0", path = "./crates/eszip_trait" }
fs = { version = "0.1.0", path = "./crates/fs" }
http_utils = { version = "0.1.0", path = "./crates/http_utils" }
# local exts
ext_ai = { version = "0.1.0", path = "./ext/ai" }
ext_ai_v8_utilities = { version = "0.1.0", path = "./ext/ai/utilities" }
ext_env = { version = "0.1.0", path = "./ext/env" }
ext_event_worker = { version = "0.1.0", path = "./ext/event_worker" }
ext_node = { version = "0.1.0", path = "./ext/node" }
ext_os = { version = "0.1.0", path = "./ext/os" }
ext_runtime = { version = "0.1.0", path = "./ext/runtime" }
ext_workers = { version = "0.1.0", path = "./ext/workers" }
# local deps
clap = { version = "4.5.16", features = ["cargo", "string", "env"] }
ctor = "0.2.6"
either = "1"
enum-as-inner = "0.6.0"
eszip = "=0.80.0"
futures-util = "0.3.30"
fxhash = "0.2"
import_map = { version = "=0.20.1", features = ["ext"] }
num-traits = "0.2"
rkyv = "0.7"
serial_test = "3.0.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "tracing-log"] }
urlencoding = "2.1.2"
xxhash-rust = "0.8"
# upstream deps
aes = "=0.8.3"
anyhow = "1.0.57"
async-trait = "0.1.73"
base32 = "=0.5.1"
base64 = "0.21.7"
brotli = "6.0.0"
bytes = "1.4.0"
cache_control = "=0.2.0"
cbc = { version = "=0.1.2", features = ["alloc"] }
# Note: Do not use the "clock" feature of chrono, as it links us to CoreFoundation on macOS.
# Instead use util::time::utc_now()
chrono = { version = "0.4", default-features = false, features = ["std", "serde"] }
dashmap = "5.5.3"
data-encoding = "2.3.3"
dotenvy = "0.15.7"
ecb = "=0.1.2"
elliptic-curve = { version = "0.13.4", features = ["alloc", "arithmetic", "ecdh", "std", "pem", "jwk"] }
faster-hex = "0.9"
fastwebsockets = { version = "0.8", features = ["upgrade", "unstable-split"] }
flate2 = { version = "=1.0.30", default-features = false }
fs3 = "0.5.0"
futures = "0.3.21"
glob = "0.3.1"
h2 = "0.4.4"
http = "1.0"
http-body = "1.0"
http-body-util = "0.1.2"
http_v02 = { package = "http", version = "0.2.9" }
httparse = "1.8.0"
hyper = { version = "1.4.1", features = ["full"] }
hyper-util = { version = "=0.1.7", features = ["tokio", "server", "server-auto"] }
hyper_v014 = { package = "hyper", version = "0.14.26", features = ["runtime", "http1"] }
indexmap = { version = "2", features = ["serde"] }
lazy-regex = "3"
libc = "0.2.126"
libz-sys = { version = "1.1.20", default-features = false }
log = "0.4.20"
monch = "=0.5.0"
notify = "=6.1.1"
num-bigint = { version = "0.4", features = ["rand"] }
once_cell = "1.17.1"
p224 = { version = "0.13.0", features = ["ecdh"] }
p256 = { version = "0.13.2", features = ["ecdh", "jwk"] }
p384 = { version = "0.13.0", features = ["ecdh", "jwk"] }
parking_lot = "0.12.0"
percent-encoding = "2.3.0"
pin-project = "1.0.11" # don't pin because they yank crates from cargo
rand = "=0.8.5"
regex = "^1.7.0"
reqwest = { version = "0.12.5", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli", "socks", "json", "http2"] } # pinned because of https://github.com/seanmonstar/reqwest/pull/1955
reqwest_v011 = { package = "reqwest", version = "0.11", features = ["stream", "json", "multipart"] }
ring = "^0.17.0"
rustls = { version = "0.23.11", default-features = false, features = ["logging", "std", "tls12", "ring"] }
rustls-pemfile = "2"
rustls-tokio-stream = "=0.3.0"
scopeguard = "1.2.0"
sec1 = "0.7"
serde = { version = "1.0.149", features = ["derive"] }
serde_json = "1.0.85"
sha1 = { version = "0.10.6", features = ["oid"] }
sha2 = { version = "0.10.8", features = ["oid"] }
signature = "2.1"
spki = "0.7.2"
tar = "=0.4.40"
tempfile = "3.4.0"
thiserror = "2.0.3"
tokio = { version = "1.36.0", features = ["full"] }
tokio-util = "0.7.4"
twox-hash = "=1.6.3"
url = { version = "2.5", features = ["serde", "expose_internals"] }
uuid = { version = "1.3.0", features = ["v4"] }
webpki-root-certs = "0.26.5"
webpki-roots = "0.26"
yoke = { version = "0.7.4", features = ["derive"] }
# upstream resolvers
deno_npm_cache = "0.2.0"
deno_resolver = "0.14.0"
node_resolver = "0.21.0"
# crypto
hkdf = "0.12.3"
rsa = { version = "0.9.3", default-features = false, features = ["std", "pem", "hazmat"] } # hazmat needed for PrehashSigner in ext/node
# webcpu
wgpu-core = "0.21.1"
wgpu-types = "0.20"
# unix
nix = "=0.27.1"
# windows deps
junction = "=0.2.0"
winapi = "=0.3.9"
windows-sys = { version = "0.59.0", features = ["Win32_Foundation", "Win32_Media", "Win32_Storage_FileSystem"] }
[patch.crates-io]
# If the PR is merged upstream, remove the line below.
deno_core = { git = "https://github.com/supabase/deno_core", branch = "324-supabase" }
eszip = { git = "https://github.com/supabase/eszip", branch = "fix-pub-vis-0-80-1" }
[profile.dind]
inherits = "dev"
[profile.no-debug-assertions]
inherits = "dev"
debug-assertions = false
[profile.release]
debug = true
lto = "thin"