-
Notifications
You must be signed in to change notification settings - Fork 366
/
Copy pathCargo.toml
108 lines (99 loc) · 2.38 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
[package]
name = "llrt"
version = "0.1.5-beta"
edition = "2021"
[features]
default = ["macro"]
lambda = []
no-sdk = []
macro = ["rquickjs/macro"]
[dependencies]
chrono = { version = "0.4.33", default-features = false, features = ["std"] }
quick-xml = "0.31.0"
crc32c = "0.6.4"
crc32fast = "1.3.2"
phf = "0.11.2"
md-5 = { version = "0.10.6", features = ["asm"] }
rquickjs = { version = "0.4.3", features = [
"full-async",
"parallel",
"rust-alloc",
], default-features = false }
tokio = { version = "1", features = ["full"] }
tracing = { version = "0.1.40", features = ["log"] }
uuid = { version = "1.7.0", default-features = false, features = [
"v1",
"v3",
"v4",
"v5",
"fast-rng",
] }
once_cell = "1.18.0"
tokio-context = "0.1.3"
tracing-core = "0.1.32"
webpki = "0.22.4"
async-trait = "0.1.77"
url = "2.5.0"
zstd = { version = "0.13.0", default-features = false, features = [] }
uname-rs = "0.1.1"
libc = "0.2.153"
base64-simd = "0.8.0"
hex-simd = "0.8.0"
socket2 = "0.5.5"
bytes = "1.5.0"
uuid-simd = "0.8.0"
simd-json = { version = "0.13.8", default-features = false, features = [
"big-int-as-float",
] }
itoa = "1.0.10"
ryu = "1.0.16"
fxhash = "0.2.1"
hyper = { version = "1.1.0", features = ["client", "http1", "http2"] }
hyper-rustls = { version = "0.26.0", default-features = false, features = [
"http2",
"http1",
"webpki-roots",
"webpki-tokio",
"ring",
] }
hyper-util = "0.1.2"
http-body-util = "0.1.0"
rustls = { version = "0.22.2", features = ["tls12", "ring"] }
webpki-roots = "0.26.0"
tokio-rustls = { version = "0.25.0", features = [
"tls12",
"ring",
], default-features = false }
ring = "0.17.7"
mimalloc = "0.1.39"
snmalloc-rs = "0.3.4"
[build-dependencies]
rquickjs = { version = "0.4.3", features = [
"full-async",
"rust-alloc",
], default-features = false }
relative-path = "1.9.0"
tokio = { version = "1", features = ["full"] }
phf_codegen = "0.11.2"
jwalk = "0.8.1"
nanoid = "0.4.0"
# [patch.crates-io]
# rquickjs-sys = { path = "./target/patch/rquickjs-sys-0.4.2" }
# [package.metadata.patch.rquickjs-sys]
# patches = ["patches/print_invocation_time.patch"]
[profile.flame]
inherits = "release"
strip = false
debug = true
[profile.release]
strip = true
lto = true
codegen-units = 1
opt-level = 3
panic = "abort"
[profile.test]
panic = "abort"
opt-level = 3 #required for large number parsing
[[bin]]
name = "llrt"
path = "src/main.rs"