forked from Redfire75369/spiderfire
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
56 lines (48 loc) · 1.3 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
[workspace]
members = [
"cli",
"ion",
"ion-proc",
"modules",
"runtime",
]
resolver = "2"
[workspace.package]
edition = "2021"
license = "MPL-2.0"
[workspace.dependencies]
ion-proc = { path = "./ion-proc"}
ion = { path = "./ion"}
runtime = { path = "./runtime"}
modules = { path = "./modules"}
cli = { path = "./cli"}
bytes = "1.5.0"
colored = "2.1.0"
dunce = "1.0.4"
encoding_rs = "0.8.33"
futures = "0.3.30"
indent = "0.1.1"
mozjs = { package = "mozjs", git = "https://github.com/wasmerio/mozjs", branch = "wasi-gecko", features = ["streams"]}
mozjs_sys = { package = "mozjs_sys", git = "https://github.com/wasmerio/mozjs", branch = "wasi-gecko" }
# mozjs = { package = "mozjs", path = "../mozjs-to-gecko/mozjs", features = ["streams"]}
# mozjs_sys = { package = "mozjs_sys", path = "../mozjs-to-gecko/mozjs-sys" }
paste = "1.0.14"
sourcemap = "6.4.1"
url = "2.5.0"
[workspace.dependencies.chrono]
version = "0.4.33"
default-features = false
features = ["clock", "std"]
[workspace.dependencies.tokio]
version = "1.35.1"
default-features = false
[workspace.lints.rust]
unsafe_op_in_unsafe_fn = "deny" # Expansion of thread_local has a #[deny]
[workspace.lints.clippy]
cast_lossless = "forbid"
clone_on_ref_ptr = "forbid"
ptr_as_ptr = "forbid"
ptr_cast_constness = "forbid"
[profile.release]
lto = "fat"
strip = "symbols"