forked from eclipse-kuksa/kuksa-databroker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
49 lines (43 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
#********************************************************************************
# Copyright (c) 2022, 2023 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License 2.0 which is available at
# http://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
#*******************************************************************************/
[workspace]
resolver = "2"
members = [
"databroker",
"databroker-proto",
"databroker-cli",
]
exclude = [
"lib/*"
]
[workspace.dependencies]
clap = { version = "4.2", default-features = false }
databroker-proto = { path = "databroker-proto" }
# prost has no features
prost = "0.11"
# prost-types has no features
prost-types = "0.11"
# tokio does not enable features by default
tokio = "1.17.0"
# tokio-stream has no features
tokio-stream = "0.1.8"
tonic = { version = "0.9.1", default-features = false }
tonic-build = { version = "0.8", default-features = false }
[profile.release]
lto = true # Link time optimization (dead code removal etc...)
opt-level = "s"
codegen-units = 1
incremental = false
strip = true
# debug = true # for profiling (turn off otherwise)
# split-debuginfo = "packed" # only enable when `debug = true``