forked from eclipse-zenoh/zenoh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
173 lines (168 loc) · 5.06 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
#
# Copyright (c) 2023 ZettaScale Technology
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
#
# Contributors:
# ZettaScale Zenoh Team, <zenoh@zettascale.tech>
#
[workspace]
members = [
"commons/zenoh-buffers",
"commons/zenoh-cfg-properties",
"commons/zenoh-codec",
"commons/zenoh-collections",
"commons/zenoh-config",
"commons/zenoh-core",
"commons/zenoh-crypto",
"commons/zenoh-keyexpr",
"commons/zenoh-macros",
"commons/zenoh-protocol",
"commons/zenoh-result",
"commons/zenoh-shm",
"commons/zenoh-sync",
"commons/zenoh-util",
"examples",
"io/zenoh-link",
"io/zenoh-link-commons",
"io/zenoh-links/zenoh-link-quic/",
"io/zenoh-links/zenoh-link-serial",
"io/zenoh-links/zenoh-link-tcp/",
"io/zenoh-links/zenoh-link-tls/",
"io/zenoh-links/zenoh-link-udp/",
"io/zenoh-links/zenoh-link-unixsock_stream/",
"io/zenoh-links/zenoh-link-ws/",
"io/zenoh-transport",
"plugins/example-plugin",
"plugins/zenoh-backend-traits",
"plugins/zenoh-plugin-rest",
"plugins/zenoh-plugin-storage-manager",
"plugins/zenoh-plugin-trait",
"zenoh",
"zenoh-ext",
"zenohd",
]
exclude = ["ci/nostd-check"]
[workspace.package]
rust-version = "1.65.0"
version = "0.7.0-rc" # Zenoh version
repository = "https://github.com/eclipse-zenoh/zenoh"
homepage = "http://zenoh.io"
authors = [
"kydos <angelo@icorsaro.net>",
"Julien Enoch <julien@enoch.fr>",
"Olivier Hécart <olivier.hecart@zettascale.tech>",
"Luca Cominardi <luca.cominardi@zettascale.tech>",
"Pierre Avital <pierre.avital@zettascale.tech>",
]
edition = "2021"
license = "EPL-2.0 OR Apache-2.0"
categories = ["network-programming"]
description = "Zenoh: Zero Overhead Pub/sub, Store/Query and Compute."
# DEFAULT-FEATURES NOTE: Be careful with default-features and additivity!
# (https://github.com/rust-lang/cargo/issues/11329)
[workspace.dependencies]
aes = "0.8.2"
anyhow = { version = "1.0.69", default-features = false } # Default features are disabled due to usage in no_std crates
async-executor = "1.5.0"
async-global-executor = "2.3.1"
async-rustls = "0.4.0"
async-std = { version = "=1.12.0", default-features = false } # Default features are disabled due to some crates' requirements
async-trait = "0.1.60"
base64 = "0.21.0"
bincode = "1.3.3"
clap = "3.2.23"
crc = "3.0.1"
criterion = "0.4.0"
derive_more = "0.99.17"
derive-new = "0.5.9"
env_logger = "0.10.0"
event-listener = "2.5.3"
flume = "0.10.14"
form_urlencoded = "1.1.0"
futures = "0.3.25"
futures-util = { version = "0.3.25", default-features = false } # Default features are disabled due to some crates' requirements
git-version = "0.3.5"
hashbrown = "0.13.2"
hex = { version = "0.4.3", default-features = false } # Default features are disabled due to usage in no_std crates
hmac = { version = "0.12.1", features = ["std"] }
home = "0.5.4"
http-types = "2.12.0"
humantime = "2.1.0"
json5 = "0.4.1"
keyed-set = "0.4.4"
lazy_static = "1.4.0"
libc = "0.2.139"
libloading = "0.7.4"
log = "0.4.17"
nix = "0.26.2"
num_cpus = "1.15.0"
ordered-float = "3.4.0"
panic-message = "0.3.0"
paste = "1.0.12"
petgraph = "0.6.3"
pnet = "0.33.0"
pnet_datalink = "0.33.0"
proc-macro2 = "1.0.51"
quinn = "0.10.1"
quote = "1.0.23"
rand = { version = "0.8.5", default-features = false } # Default features are disabled due to usage in no_std crates
rand_chacha = "0.3.1"
rcgen = "0.10.0"
regex = "1.7.1"
ringbuffer-spsc = "0.1.9"
rsa = "0.8.2"
rustc_version = "0.4.0"
rustls = "0.21.1"
rustls-native-certs = "0.6.2"
rustls-pemfile = "1.0.2"
serde = { version = "1.0.154", default-features = false, features = [
"derive",
] } # Default features are disabled due to usage in no_std crates
serde_json = "1.0.94"
serde_yaml = "0.9.19"
sha3 = "0.10.6"
shared_memory = "0.12.4"
shellexpand = "3.0.0"
socket2 = "0.5.1"
stop-token = "0.7.0"
syn = "1.0.109"
tide = "0.16.0"
token-cell = { version = "1.4.2", default-features = false }
tokio = { version = "1.26.0", default-features = false } # Default features are disabled due to some crates' requirements
tokio-tungstenite = "0.18.0"
typenum = "1.16.0"
uhlc = { version = "0.5.2", default-features = false } # Default features are disabled due to usage in no_std crates
unzip-n = "0.1.2"
url = "2.3.1"
urlencoding = "2.1.2"
uuid = { version = "1.3.0", default-features = false, features = [
"v4",
] } # Default features are disabled due to usage in no_std crates
validated_struct = "2.1.0"
vec_map = "0.8.2"
webpki = "0.22.0"
webpki-roots = "0.22.6"
winapi = { version = "0.3.9", features = ["iphlpapi"] }
z-serial = "0.2.1"
[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 # If you want debug symbol in release mode, set the env variable: RUSTFLAGS=-g
lto = "fat"
codegen-units = 1
opt-level = 3
panic = "abort"