-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
80 lines (74 loc) · 2.07 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
################################################################################
# Copyright (c) 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 Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
################################################################################
[package]
categories = ["api-bindings"]
description = "Rust implementation of the Eclipse uProtocol library"
documentation = "https://github.com/eclipse-uprotocol/up-spec#readme"
edition = "2021"
exclude = [
"tests/*",
"tools/*",
".devcontainer/*",
".vscode/*",
".github/*",
".gitignore",
]
keywords = ["uProtocol", "SDK"]
license = "Apache-2.0"
name = "up-rust"
readme = "README.md"
repository = "https://github.com/eclipse-uprotocol/up-rust"
rust-version = "1.74.1"
version = "0.1.5"
[features]
udiscovery = []
usubscription = []
utwin = []
default = []
[dependencies]
async-trait = { version = "0.1" }
bytes = { version = "1.5" }
chrono = { version = "0.4.32" }
mediatype = "0.19"
once_cell = { version = "1.19" }
protobuf = { version = "3.3", features = ["with-bytes"] }
rand = { version = "0.8" }
regex = { version = "1.10" }
thiserror = { version = "1.0.52" }
tokio = { version = "1.35", default-features = false, features = [
"macros",
"rt",
"rt-multi-thread",
"sync",
"time",
] }
tracing = { version = "0.1.35", default-features = false, features = [
"log",
"std",
] }
uriparse = { version = "0.6" }
uuid-simd = { version = "0.8", default-features = false, features = [
"std",
"detect",
] }
[build-dependencies]
protobuf-codegen = { version = "3.3" }
protoc-bin-vendored = { version = "3.0" }
reqwest = { version = "0.12", features = ["blocking"] }
[dev-dependencies]
mockall = "0.12.1"
test-case = { version = "3.3" }
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1