forked from astarte-platform/astarte-device-sdk-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
122 lines (113 loc) · 3.4 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
# This file is part of Astarte.
#
# Copyright 2022 SECO Mind Srl
#
# SPDX-License-Identifier: CC0-1.0
[package]
name = "astarte-device-sdk"
version = { workspace = true }
categories = ["embedded", "api-bindings"]
documentation = "https://docs.rs/astarte-device-sdk"
edition = { workspace = true }
exclude = { workspace = true }
homepage = { workspace = true }
keywords = ["sdk", "iot", "astarte"]
license = { workspace = true }
readme = "README.md"
repository = { workspace = true }
rust-version = { workspace = true }
description = "A library that provides communication and pairing primitives to an Astarte Cluster"
[workspace]
resolver = "2"
members = [
"astarte-device-sdk-derive",
"e2e-test",
]
[workspace.package]
edition = "2021"
homepage = "https://astarte.cloud/"
license = "Apache-2.0"
repository = "https://github.com/astarte-platform/astarte-device-sdk-rust"
rust-version = "1.66.1"
version = "0.6.2"
exclude = [".github"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bench]]
name = "benchmark"
harness = false
[dependencies]
astarte-device-sdk-derive = { workspace = true, optional = true }
async-trait = { workspace = true }
base64 = { workspace = true }
bson = { workspace = true, features = ["chrono-0_4"] }
chrono = { workspace = true, features = ["serde"] }
ecdsa = { workspace = true, features = ["sha2"] }
flate2 = { workspace = true }
futures = { workspace = true }
http = { workspace = true }
itertools = { workspace = true }
log = { workspace = true }
openssl = { workspace = true, optional = true }
p384 = { workspace = true }
rand_core = { workspace = true, features = ["getrandom"] }
reqwest = { workspace = true, features = ["json", "rustls-tls"] }
rumqttc = { workspace = true }
rustls = { workspace = true, features = ["dangerous_configuration"] }
rustls-native-certs = { workspace = true }
rustls-pemfile = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
sqlx = { workspace = true, features = ["runtime-tokio", "sqlite", "macros", "migrate"] }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["parking_lot", "macros"] }
url = { workspace = true }
uuid = { workspace = true, features = ["v5", "v4"] }
webpki = { workspace = true }
x509-cert = { workspace = true, features = ["builder"] }
[dev-dependencies]
astarte-device-sdk-derive = { workspace = true }
criterion = { workspace = true }
env_logger = { workspace = true }
mockall = { workspace = true }
tempfile = { workspace = true }
tokio = { workspace = true, features = ["rt", "rt-multi-thread"] }
[features]
derive = ["dep:astarte-device-sdk-derive"]
openssl = ["dep:openssl"]
[workspace.dependencies]
astarte-device-sdk-derive = { version = "0.6.1", path = "./astarte-device-sdk-derive" }
async-trait = "0.1.2"
base64 = "0.21.0"
bson = "2.1.0"
chrono = "0.4.14"
criterion = "0.5.1"
ecdsa = "0.16.7"
env_logger = "0.10.0"
flate2 = "1.0.0"
futures = "0.3.0"
http = "0.2.0"
itertools = "0.11.0"
log = "0.4.17"
mockall = "0.11.4"
openssl = "0.10.46"
p384 = "0.13.0"
proc-macro2 = "1.0.60"
quote = "1.0.26"
rand_core = "0.6.4"
reqwest = "0.11.0"
rumqttc = "0.21.0"
rustls = "0.20.1"
rustls-native-certs = "0.6.0"
rustls-pemfile = "1.0.0"
serde = "1.0.145"
serde_json = "1.0.85"
sqlx = "0.7.0"
structopt = "0.3.26"
syn = "2.0.0"
tempfile = "3.6.0"
thiserror = "1.0.35"
tokio = "1.18.0"
url = "2.2.2"
uuid = "1.0.0"
webpki = "0.22.0"
x509-cert = "0.2.2"