-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
33 lines (29 loc) · 1.08 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
[package]
name = "openworkers-runtime"
version = "0.1.6"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bytes = { version = "1.5.0", features = ["serde"] }
deno_console = "0.139.0"
deno_core = "0.264.0"
deno_crypto = "0.153.0"
deno_fetch = "0.163.0"
deno_url = "0.139.0"
deno_web = "0.170.0"
deno_webidl = "0.139.0"
env_logger = "0.11.2"
http_v02 = { package = "http", version = "0.2.9" }
log = "0.4.20"
serde = { version = "1.0.197", features = ["derive"] }
tokio = { version = "1.36.0", features = ["full"] }
[dev-dependencies]
actix-web = { version = "4.5.1", features = ["macros"] }
# https://doc.rust-lang.org/cargo/reference/profiles.html
# https://github.com/johnthagen/min-sized-rust?tab=readme-ov-file#minimizing-rust-binary-size
[profile.release]
strip = true # Automatically strip symbols from the binary.
opt-level = "z" # Optimize for size.
incremental = true # Enable incremental compilation.
codegen-units = 1 # Use a single codegen unit to optimize for size.
lto = true # Enable link-time optimization.