-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
152 lines (140 loc) · 4.68 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
[workspace]
resolver = "2"
members = [
"crates/flo-bui",
"crates/flo-core",
"crates/flo-mavlink",
"crates/flo-mavlink/mavlink-dump",
"crates/flo-webserver",
"crates/osd-displayport",
"crates/osd-utils",
"crates/platform-uuid",
"crates/pwm-motor-types",
"crates/sbgc-gimbal",
"crates/simplebgc",
"crates/simplebgc-derive",
"crates/tilta-dongle-comms",
"crates/tokio-mavlink",
"crates/trinamic",
]
exclude = [
"firmware/beamdriver",
"firmware/flo-tilta-dongle",
"firmware/rpipico-pantilt",
]
[package]
name = "flo"
version = "0.1.0"
edition = "2021"
authors = [
"Andrew Straw <strawman@astraw.com>",
"Victor V. Titov <vv.titov@gmail.com>",
"Stephan Lochner <lochner@bio.uni-freiburg.de>",
]
description = "method for videography using a camera system that automatically moves to follow the subject"
license = "MIT OR Apache-2.0"
[dependencies]
color-eyre.workspace = true
thiserror.workspace = true
serde.workspace = true
serde_json.workspace = true
serde_yaml.workspace = true
bytes.workspace = true
futures.workspace = true
tokio = { workspace = true, features = ["macros", "net", "sync", "time"] }
tokio-util = { workspace = true, features = ["net", "codec", "time"] }
tokio-serial = { package = "kioto-serial", version = "0.1.0" }
tokio-stream = { workspace = true, features = ["sync"] }
preferences-serde1.workspace = true
cookie_store = "0.20.0"
clap = { workspace = true, features = ["derive"] }
memchr = "2.5.0"
sha2 = "0.10.6"
rand = "0.8.5"
chrono = { workspace = true, default-features = true, features = ["serde"] }
zip = { version = "0.6.3", default-features = false, features = ["time"] }
walkdir = "2.2"
csv = "1.1"
home = "0.5.4"
iana-time-zone = "0.1.57"
rodio = { version = "0.17.3", default-features = false, features = [
"wav",
"vorbis",
] }
hyper = "1.1"
time = "0.3.36"
tracing.workspace = true
tracing-subscriber = { version = "0.3.16", features = ["env-filter", "time"] }
tracing-panic.workspace = true
serde_cbor = "0.11.1"
packed_struct = "0.3"
glob = "0.3.1"
regex = "1.10.5"
http-body-util = "0.1.0"
axum.workspace = true
nalgebra.workspace = true
adskalman.workspace = true
json-lines = { version = "0.1.1", features = ["codec"] }
multiwii_serial_protocol_v2.workspace = true
flo-core.workspace = true
flo-mavlink.workspace = true
flo-webserver = { path = "crates/flo-webserver", default-features = false }
osd-utils = { path = "crates/osd-utils" }
platform-uuid = { path = "crates/platform-uuid" }
trinamic = { path = "crates/trinamic" }
sbgc-gimbal = { path = "crates/sbgc-gimbal" }
tilta-dongle-comms = { path = "crates/tilta-dongle-comms" }
osd-displayport = { path = "crates/osd-displayport" }
flydra-types = { git = "https://github.com/strawlab/strand-braid", rev = "f22fef3211c6224041b80a0813eda2c9079039b4" }
bui-backend-session = { git = "https://github.com/strawlab/strand-braid", rev = "f22fef3211c6224041b80a0813eda2c9079039b4" }
ci2-remote-control = { git = "https://github.com/strawlab/strand-braid", rev = "f22fef3211c6224041b80a0813eda2c9079039b4" }
strand-cam-storetype = { git = "https://github.com/strawlab/strand-braid", rev = "f22fef3211c6224041b80a0813eda2c9079039b4" }
# for rodio: if "error: could not find system library 'alsa' required by the 'alsa-sys' crate":
# sudo apt install librust-alsa-sys-dev
[dev-dependencies]
tempfile = "3"
[workspace.dependencies]
adskalman = { version = "0.15.0", default-features = false }
axum = "0.7.4"
bytes = "1"
chrono = { version = "0.4.38", default-features = false }
clap = "4.0.10"
color-eyre = "0.6.3"
enumflags2 = "0.7.7"
eyre = "0.6.12"
futures = "0.3.30"
if-addrs = "0.11"
image = { version = "0.25", default-features = false }
log = "0.4.17"
machine-vision-formats = "0.1.2"
mavlink = { version = "0.12.2", default-features = false }
multiwii_serial_protocol_v2 = "0.1.12"
nalgebra = { version = "0.32.1", default-features = false }
num-derive = "0.4.2"
num-traits = "0.2.19"
preferences-serde1 = "2.0.0"
serde = { version = "1.0.79", default-features = false }
serde_json = "1.0.116"
serde_yaml = "0.9.14"
thiserror = "1.0.62"
tokio = "1"
tokio-stream = "0.1.15"
tokio-util = "0.7.4"
tracing = "0.1.40"
tracing-panic = "0.1.1"
base64 = "0.6"
flate2 = "1.0"
flo-core = { path = "crates/flo-core", default-features = false }
flo-mavlink = { path = "crates/flo-mavlink" }
osd-displayport = { path = "crates/osd-displayport" }
pwm-motor-types = { path = "crates/pwm-motor-types" }
simplebgc = { path = "crates/simplebgc" }
simplebgc-derive = { path = "crates/simplebgc-derive" }
tokio-mavlink = { path = "crates/tokio-mavlink" }
[features]
default = ["bundle_files"]
# Serve style
## Bundle files into executable
bundle_files = ["flo-webserver/bundle_files"]
## Serve files from disk at runtime
serve_files = ["flo-webserver/serve_files"]