-
Notifications
You must be signed in to change notification settings - Fork 170
/
Cargo.toml
178 lines (144 loc) · 3.85 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
174
175
176
177
178
#
# 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, <[email protected]>
#
[package]
rust-version = { workspace = true }
name = "zenoh-examples"
version = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
categories = { workspace = true }
description = "Internal crate for zenoh."
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
publish = false
[features]
shared-memory = ["zenoh/shared-memory"]
unstable = ["zenoh/unstable"]
transport_unixpipe = ["zenoh/transport_unixpipe"]
[dependencies]
clap = { workspace = true, features = ["derive"] }
futures = { workspace = true }
prost = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true, features = ["rt-multi-thread", "time", "io-std"] }
zenoh = { workspace = true, default-features = true }
zenoh-ext = { workspace = true, features = ["unstable"] }
[dev-dependencies]
rand = { workspace = true, features = ["default"] }
[build-dependencies]
prost-build = "0.13"
which = "6"
[[example]]
name = "z_scout"
path = "examples/z_scout.rs"
[[example]]
name = "z_info"
path = "examples/z_info.rs"
[[example]]
name = "z_put"
path = "examples/z_put.rs"
[[example]]
name = "z_put_float"
path = "examples/z_put_float.rs"
[[example]]
name = "z_delete"
path = "examples/z_delete.rs"
[[example]]
name = "z_formats"
path = "examples/z_formats.rs"
[[example]]
name = "z_pub"
path = "examples/z_pub.rs"
[[example]]
name = "z_pub_shm"
path = "examples/z_pub_shm.rs"
required-features = ["unstable", "shared-memory"]
[[example]]
name = "z_sub"
path = "examples/z_sub.rs"
[[example]]
name = "z_sub_shm"
path = "examples/z_sub_shm.rs"
required-features = ["unstable", "shared-memory"]
[[example]]
name = "z_pull"
path = "examples/z_pull.rs"
[[example]]
name = "z_querier"
path = "examples/z_querier.rs"
required-features = ["unstable"]
[[example]]
name = "z_queryable"
path = "examples/z_queryable.rs"
[[example]]
name = "z_queryable_shm"
path = "examples/z_queryable_shm.rs"
required-features = ["unstable", "shared-memory"]
[[example]]
name = "z_storage"
path = "examples/z_storage.rs"
[[example]]
name = "z_get"
path = "examples/z_get.rs"
[[example]]
name = "z_get_shm"
path = "examples/z_get_shm.rs"
required-features = ["unstable", "shared-memory"]
[[example]]
name = "z_forward"
path = "examples/z_forward.rs"
[[example]]
name = "z_liveliness"
path = "examples/z_liveliness.rs"
[[example]]
name = "z_sub_liveliness"
path = "examples/z_sub_liveliness.rs"
[[example]]
name = "z_get_liveliness"
path = "examples/z_get_liveliness.rs"
[[example]]
name = "z_pub_thr"
path = "examples/z_pub_thr.rs"
[[example]]
name = "z_sub_thr"
path = "examples/z_sub_thr.rs"
[[example]]
name = "z_pub_shm_thr"
path = "examples/z_pub_shm_thr.rs"
required-features = ["unstable", "shared-memory"]
[[example]]
name = "z_ping"
path = "examples/z_ping.rs"
[[example]]
name = "z_ping_shm"
path = "examples/z_ping_shm.rs"
required-features = ["unstable", "shared-memory"]
[[example]]
name = "z_pong"
path = "examples/z_pong.rs"
[[example]]
name = "z_alloc_shm"
path = "examples/z_alloc_shm.rs"
required-features = ["unstable", "shared-memory"]
[[example]]
name = "z_bytes_shm"
path = "examples/z_bytes_shm.rs"
required-features = ["unstable", "shared-memory"]
[[example]]
name = "z_posix_shm_provider"
path = "examples/z_posix_shm_provider.rs"
required-features = ["unstable", "shared-memory"]