-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
69 lines (61 loc) · 1.41 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
[package]
name = "znet"
version = "0.2.4"
edition = "2021"
description = "network framework powered by zenoh"
readme = "README.md"
repository = "https://github.com/prime-rs/znet"
license = "Apache-2.0"
authors = ["JLer <[email protected]>"]
categories = ["network-programming"]
keywords = ["network", "event-bus", "zenoh"]
[dependencies]
color-eyre = "0.6"
flume = "0.11"
indexmap = "2.6"
parking_lot = "0.12"
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
zenoh = { version = "1.0", features = [
"unstable",
"internal",
"transport_quic",
"transport_tls",
"transport_udp",
"transport_tcp",
"plugins",
] }
zenoh-ext = { version = "1.0", features = ["unstable"] }
[dev-dependencies]
clap = { version = "4.5", features = ["derive"] }
common_x = { version = "0.6", default-features = false, features = [
"config",
"graceful",
"log",
"signal",
] }
serde = { version = "1.0", features = ["derive"] }
[profile.dev]
debug = true
opt-level = 0
[profile.fast]
inherits = "release"
opt-level = 3
debug = true
debug-assertions = true
overflow-checks = true
lto = false
[profile.release]
debug = false
lto = "fat"
codegen-units = 1
opt-level = 3
panic = "abort"
[lints.rust]
unsafe_code = "forbid"
missing_copy_implementations = "warn"
# missing_debug_implementations = "warn"
# unused_crate_dependencies = "warn"
unused_extern_crates = "warn"
[lints.clippy]
missing_const_for_fn = "warn"