-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
137 lines (116 loc) · 3.34 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
[package]
authors = ["David Weis <[email protected]>"]
default-run = "hopper"
description = "Hopper hexapod robot"
edition = "2021"
license = "MIT OR APACHE"
name = "hopper_rust"
publish = false
readme = "README.md"
repository = "https://github.com/dmweis/hopper_rust"
version = "0.7.1"
[package.metadata.deb]
assets = [
[
"target/release/hopper",
"/usr/bin/",
"755",
],
[
"config/settings.yaml",
"/etc/hopper/settings.yaml",
"644",
],
]
conf-files = ["/etc/hopper/settings.yaml"]
maintainer = "David Weis <[email protected]>"
maintainer-scripts = "debian/"
[package.metadata.deb.systemd-units]
[[bin]]
name = "hopper"
[[bin]]
name = "visualizer"
required-features = ["visualizer"]
[[bin]]
name = "remote_controller"
required-features = ["visualizer"]
[features]
audio = ["rodio", "azure_tts"]
default = ["visualizer", "audio", "gilrs"]
visualizer = ["kiss3d", "gilrs"]
[dependencies]
# Utilities
anyhow = "1.0"
bitflags = "2.3.3"
bytes = "1.4"
chrono = {version = "0.4", features = ["serde"]}
clap = {version = "4", features = ["derive"]}
config = "0.13.2"
ctrlc = "3.1"
lazy_static = "1.4"
rand = "0.8"
reqwest = {version = "0.11", features = ["json"]}
sha2 = "0.10"
tempdir = "0.3.7"
thiserror = "1.0"
walkdir = "2.3.3"
# async
async-trait = "0.1"
futures = "0.3"
tokio = {version = "1.6", features = [
"macros",
"rt-multi-thread",
"time",
"process",
"signal",
], default-features = false}
# logging
tracing = {version = "0.1", features = ["log"]}
tracing-subscriber = {version = "0.3", features = [
"registry",
"env-filter",
"json",
]}
# serialization
base64 = "0.21.0"
cobs-rs = "1.1.1"
schemars = "0.8.12"
serde = {version = "1.0", features = ["derive"]}
serde_json = "1.0"
serde_yaml = "0.9.25"
toml = "0.7.6"
# other projects
azure_tts = {git = "https://github.com/dmweis/azure_tts", branch = "main", optional = true}
# dynamixel-driver = {branch = "main", git = "https://github.com/dmweis/dynamixel-driver"}
dynamixel-driver = {branch = "clearing_fix_again", git = "https://github.com/dmweis/dynamixel-driver"}
# dynamixel-driver = {path = "../dynamixel-driver"}
# hopper_face = {branch = "main", git = "https://github.com/dmweis/hopper_face"}
rplidar_driver = {git = "https://github.com/dmweis/rplidar_driver", branch = "main"}
# openai
async-openai = {version = "0.18.3"}
# async-openai = {git = "https://github.com/dmweis/async-openai", branch = "main"}
serialport = {version = "4.0.1", default-features = false}
v4l = "0.14.0"
gilrs = {version = "0.10", optional = true, features = ["serde-serialize"]}
kiss3d = {optional = true, version = "0.35"}
last-message-channel = {branch = "main", git = "https://github.com/dmweis/last-message-channel"}
mint = "0.5"
nalgebra = {version = "0.30", features = ["serde-serialize"]}
rodio = {version = "0.17", optional = true}
# fix weird bug with mp3 not playing from start
# rodio = {git = "https://github.com/RustAudio/rodio", rev = "55d957f8b40c59fccea4162c4b03f6dd87a7a4d9", optional = true}
# zenoh
zenoh = "0.11.0"
zenoh-config = "0.11.0"
# protobuf
once_cell = "1.17.0"
prost = "0.11.9"
prost-reflect = {version = "0.11.4", features = ["derive", "serde"]}
prost-types = "0.11.9"
futures-util = "^0.3.30"
tokio-tungstenite = {version = "0.21", features = ["native-tls"]}
[build-dependencies]
prost-build = "0.11.9"
prost-reflect-build = "0.11.0"
[dev-dependencies]
approx = "0.5.1"