-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
47 lines (39 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[workspace]
resolver = "2"
members = [
"ext/libp2p",
"runtime",
"cli",
"daemon",
]
[workspace.package]
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["Protocol Labs"]
repository = "https://github.com/filecoin-station/zinnia"
[workspace.dependencies]
assert_cmd = "2.0.16"
assert_fs = "1.1.2"
console_static_text = "=0.8.1"
deno_core = "0.232.0"
log = "0.4.22"
pretty_assertions = "1.4.1"
env_logger = "0.10.2"
serde = "1.0.216"
serde_repr = "0.1.19"
tokio = { version = "1.42.0", features = ["fs", "rt", "macros"] }
# workspace-local
zinnia_runtime = { version = "0.20.3", path = "./runtime" }
zinnia_libp2p = { version = "0.20.3", path = "./ext/libp2p" }
[profile.release]
codegen-units = 1
# LTO is broken on Windows, see https://github.com/rust-lang/rust/issues/107781
# lto = true
# Optimize for size, otherwise the Windows linker fails the build
opt-level = "z"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace.lints.rust]
warnings="deny"
[workspace.lints.clippy]
type_complexity="allow"
pedantic="allow"