forked from viamrobotics/micro-rdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (43 loc) · 1.6 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
[package]
authors = ["Viam, inc. <[email protected]>"]
description = "Viam RDK for microcontroller"
edition = "2021"
license = "AGPL-3.0"
name = "micro-rdk"
repository = "https://github.com/viamrobotics/micro-rdk"
resolver = "2"
version = "0.0.1"
[lib]
crate-type = ["lib"]
[features]
camera = []
esp32 = ["dep:esp-idf-hal", "dep:esp-idf-svc","dep:esp-idf-sys","dep:embedded-svc","dep:embedded-hal"]
native = ["dep:rustls","dep:webpki-roots", "dep:rustls-pemfile", "dep:mdns-sd", "dep:local-ip-address"]
[dependencies]
anyhow = { version = "1", features = ["backtrace"] }
bytes = "1.2.1"
either = "1.8.0"
embedded-hal = { version = "0.2.7", features = ["unproven"], optional = true }
embedded-svc = { version = "0.23", optional = true }
esp-idf-hal = { version="0.39.3", optional = true }
esp-idf-svc = { version = "0.43.4", optional = true }
esp-idf-sys = { version = "0.31.11", features = ["binstart"], optional = true }
futures-lite = "1.12.0"
h2 = "0.3.14"
hyper = { version="0.14.20", default-features = false, features = ["server","stream","http2"] }
local-ip-address = { version = "0.4.9", optional = true }
log = "0.4"
mdns-sd = { version = "0.5.10", optional = true, default-features = false, features = ["async"] }
prost = "0.11.0"
prost-types = "0.11.1"
rustls = { version = "0.20.7", features = ["logging","tls12"], optional = true }
rustls-pemfile = { version = "1.0.2", optional = true }
smol = "1.2"
smol-timeout = "0.6.0"
socket2 = "0.4.5"
tokio = { version = "1", default-features = false }
webpki-roots = { version = "0.22.6", optional = true }
[build-dependencies]
anyhow = "1"
const-gen = "1.3.0"
embuild = "0.29"