baudhound 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- baudhound-0.1.0/.gitignore +1 -0
- baudhound-0.1.0/CHANGELOG.md +38 -0
- baudhound-0.1.0/Cargo.lock +514 -0
- baudhound-0.1.0/Cargo.toml +24 -0
- baudhound-0.1.0/LICENSE-APACHE +176 -0
- baudhound-0.1.0/LICENSE-MIT +21 -0
- baudhound-0.1.0/PKG-INFO +244 -0
- baudhound-0.1.0/README.md +219 -0
- baudhound-0.1.0/pyproject.toml +37 -0
- baudhound-0.1.0/src/analyze.rs +881 -0
- baudhound-0.1.0/src/baud.rs +175 -0
- baudhound-0.1.0/src/capture.rs +201 -0
- baudhound-0.1.0/src/export.rs +232 -0
- baudhound-0.1.0/src/freq.rs +71 -0
- baudhound-0.1.0/src/highlight.rs +199 -0
- baudhound-0.1.0/src/input/csv.rs +188 -0
- baudhound-0.1.0/src/input/mod.rs +113 -0
- baudhound-0.1.0/src/input/raw.rs +88 -0
- baudhound-0.1.0/src/input/sr.rs +215 -0
- baudhound-0.1.0/src/lib.rs +22 -0
- baudhound-0.1.0/src/main.rs +341 -0
- baudhound-0.1.0/src/report.rs +390 -0
- baudhound-0.1.0/src/synth.rs +384 -0
- baudhound-0.1.0/src/uart.rs +382 -0
- baudhound-0.1.0/tests/cli.rs +197 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/target
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented here. The format follows
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses
|
|
5
|
+
[Semantic Versioning](https://semver.org/).
|
|
6
|
+
|
|
7
|
+
## [Unreleased]
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Prebuilt binaries on PyPI: `pip install baudhound` (or `pipx install baudhound`)
|
|
12
|
+
installs the `baudhound` command without a Rust toolchain. Wheels are built with maturin
|
|
13
|
+
for Linux x86_64/aarch64 (manylinux and musllinux), macOS arm64/x86_64 and Windows
|
|
14
|
+
x86_64 by the new `release` workflow, which publishes them to PyPI with Trusted
|
|
15
|
+
Publishing when a `v*` tag is pushed.
|
|
16
|
+
|
|
17
|
+
## [0.1.0] - 2026-12-03
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Capture loaders for sigrok/PulseView `.sr` sessions (v1 single file and v2
|
|
22
|
+
chunked), sigrok CSV (sample rows), Saleae Logic 1/2 digital CSV
|
|
23
|
+
(timestamped transitions, negative pre-trigger times) and raw packed samples.
|
|
24
|
+
- Baud-rate estimation from edge-timing clusters with GCD-style refinement,
|
|
25
|
+
glitch rejection, snapping to standard rates (300 to 4 000 000, including
|
|
26
|
+
74880, 250000, 921600, 1500000) and reporting of non-standard rates.
|
|
27
|
+
- Frame-format detection for 8N1, 7E1, 8E1, 8O1 and 8N2, normal and inverted
|
|
28
|
+
polarity, ranked by framing/parity errors, bit-boundary alignment and
|
|
29
|
+
printable-ASCII ratio.
|
|
30
|
+
- Channel classification: UART TX / RX, clock (continuous or bursty SPI/I2C
|
|
31
|
+
style), idle high, idle low, unknown activity.
|
|
32
|
+
- Decoded text output with ANSI-sequence stripping and highlighting of U-Boot
|
|
33
|
+
autoboot prompts, kernel command line, `Starting kernel`, login and root
|
|
34
|
+
shell prompts.
|
|
35
|
+
- Wiring hints, `--json` output, channel filter, forced `--baud` / `--framing`.
|
|
36
|
+
- `gen` subcommand that synthesizes captures (jitter, clock skew, glitches,
|
|
37
|
+
inversion, RX keystrokes, clock and floating channels) in all supported
|
|
38
|
+
formats.
|
|
@@ -0,0 +1,514 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "anstream"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"anstyle",
|
|
12
|
+
"anstyle-parse",
|
|
13
|
+
"anstyle-query",
|
|
14
|
+
"anstyle-wincon",
|
|
15
|
+
"colorchoice",
|
|
16
|
+
"is_terminal_polyfill",
|
|
17
|
+
"utf8parse",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[[package]]
|
|
21
|
+
name = "anstyle"
|
|
22
|
+
version = "1.0.14"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
|
|
25
|
+
|
|
26
|
+
[[package]]
|
|
27
|
+
name = "anstyle-parse"
|
|
28
|
+
version = "1.0.0"
|
|
29
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
30
|
+
checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
|
|
31
|
+
dependencies = [
|
|
32
|
+
"utf8parse",
|
|
33
|
+
]
|
|
34
|
+
|
|
35
|
+
[[package]]
|
|
36
|
+
name = "anstyle-query"
|
|
37
|
+
version = "1.1.5"
|
|
38
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
+
checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
|
|
40
|
+
dependencies = [
|
|
41
|
+
"windows-sys",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
[[package]]
|
|
45
|
+
name = "anstyle-wincon"
|
|
46
|
+
version = "3.0.11"
|
|
47
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
|
+
checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
|
|
49
|
+
dependencies = [
|
|
50
|
+
"anstyle",
|
|
51
|
+
"once_cell_polyfill",
|
|
52
|
+
"windows-sys",
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
[[package]]
|
|
56
|
+
name = "anyhow"
|
|
57
|
+
version = "1.0.105"
|
|
58
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
59
|
+
checksum = "2cb931c189b85683d69a5cfad41d4d418671e1ac413dd209f3f2fc31e3cfd902"
|
|
60
|
+
|
|
61
|
+
[[package]]
|
|
62
|
+
name = "baudhound"
|
|
63
|
+
version = "0.1.0"
|
|
64
|
+
dependencies = [
|
|
65
|
+
"anyhow",
|
|
66
|
+
"clap",
|
|
67
|
+
"serde",
|
|
68
|
+
"serde_json",
|
|
69
|
+
"zip",
|
|
70
|
+
]
|
|
71
|
+
|
|
72
|
+
[[package]]
|
|
73
|
+
name = "bitflags"
|
|
74
|
+
version = "2.13.2"
|
|
75
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
76
|
+
checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
|
|
77
|
+
|
|
78
|
+
[[package]]
|
|
79
|
+
name = "bumpalo"
|
|
80
|
+
version = "3.20.4"
|
|
81
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
82
|
+
checksum = "87a0cf66fd1eb2fb7b822cb78370d82303750809bc6ba855f3f58e517d3238db"
|
|
83
|
+
|
|
84
|
+
[[package]]
|
|
85
|
+
name = "cfg-if"
|
|
86
|
+
version = "1.0.5"
|
|
87
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
88
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
89
|
+
|
|
90
|
+
[[package]]
|
|
91
|
+
name = "cfg_aliases"
|
|
92
|
+
version = "0.2.2"
|
|
93
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
94
|
+
checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527"
|
|
95
|
+
|
|
96
|
+
[[package]]
|
|
97
|
+
name = "clap"
|
|
98
|
+
version = "4.6.10"
|
|
99
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
100
|
+
checksum = "50066ca966813ca8957ee15361752f19424a8ff620dbe9c8993d9f99d99b04b3"
|
|
101
|
+
dependencies = [
|
|
102
|
+
"clap_builder",
|
|
103
|
+
"clap_derive",
|
|
104
|
+
]
|
|
105
|
+
|
|
106
|
+
[[package]]
|
|
107
|
+
name = "clap_builder"
|
|
108
|
+
version = "4.6.10"
|
|
109
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
110
|
+
checksum = "a0ed97c96ef4efb3cc84e09fa388df4463e7cc3224ec38d7b1d9e45749333590"
|
|
111
|
+
dependencies = [
|
|
112
|
+
"anstream",
|
|
113
|
+
"anstyle",
|
|
114
|
+
"clap_lex",
|
|
115
|
+
"strsim",
|
|
116
|
+
]
|
|
117
|
+
|
|
118
|
+
[[package]]
|
|
119
|
+
name = "clap_derive"
|
|
120
|
+
version = "4.6.9"
|
|
121
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
122
|
+
checksum = "b4c174f11f949b9ca8c60580925e282b9cbd5454750e506f08648b2038080cd7"
|
|
123
|
+
dependencies = [
|
|
124
|
+
"heck",
|
|
125
|
+
"proc-macro2",
|
|
126
|
+
"quote",
|
|
127
|
+
"syn 3.0.10",
|
|
128
|
+
]
|
|
129
|
+
|
|
130
|
+
[[package]]
|
|
131
|
+
name = "clap_lex"
|
|
132
|
+
version = "1.1.2"
|
|
133
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
134
|
+
checksum = "e0921b3876b3a1df8a1c9f912e7f94342458022c2e84288015893d83c4d62a79"
|
|
135
|
+
|
|
136
|
+
[[package]]
|
|
137
|
+
name = "colorchoice"
|
|
138
|
+
version = "1.0.5"
|
|
139
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
140
|
+
checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
|
|
141
|
+
|
|
142
|
+
[[package]]
|
|
143
|
+
name = "constant_time_eq"
|
|
144
|
+
version = "0.6.2"
|
|
145
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
146
|
+
checksum = "144e7f1de087984240b7816d47f698b414979faa6f40839c5b86d6bd47db57b7"
|
|
147
|
+
dependencies = [
|
|
148
|
+
"rustversion",
|
|
149
|
+
]
|
|
150
|
+
|
|
151
|
+
[[package]]
|
|
152
|
+
name = "crc32fast"
|
|
153
|
+
version = "1.5.6"
|
|
154
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
155
|
+
checksum = "fd9ae8fcb3ea71b0b26338b4ffb13006bb175de8fd07921089a906ce7e5e6945"
|
|
156
|
+
dependencies = [
|
|
157
|
+
"cfg-if",
|
|
158
|
+
]
|
|
159
|
+
|
|
160
|
+
[[package]]
|
|
161
|
+
name = "equivalent"
|
|
162
|
+
version = "1.0.3"
|
|
163
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
164
|
+
checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
|
|
165
|
+
|
|
166
|
+
[[package]]
|
|
167
|
+
name = "flate2"
|
|
168
|
+
version = "1.1.11"
|
|
169
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
170
|
+
checksum = "626d4928326b646e70f65ed36fc7cf9f206bdb68a0019ee7c6b4709da4e084c4"
|
|
171
|
+
dependencies = [
|
|
172
|
+
"zlib-rs",
|
|
173
|
+
]
|
|
174
|
+
|
|
175
|
+
[[package]]
|
|
176
|
+
name = "getrandom"
|
|
177
|
+
version = "0.4.3"
|
|
178
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
179
|
+
checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
|
|
180
|
+
dependencies = [
|
|
181
|
+
"cfg-if",
|
|
182
|
+
"js-sys",
|
|
183
|
+
"libc",
|
|
184
|
+
"r-efi",
|
|
185
|
+
"wasm-bindgen",
|
|
186
|
+
]
|
|
187
|
+
|
|
188
|
+
[[package]]
|
|
189
|
+
name = "hashbrown"
|
|
190
|
+
version = "0.17.2"
|
|
191
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
192
|
+
checksum = "735eaa21a6a5ffb2e84362faaeb90c05ba8e19797ca30428478cb6ea3a4921bc"
|
|
193
|
+
|
|
194
|
+
[[package]]
|
|
195
|
+
name = "heck"
|
|
196
|
+
version = "0.5.0"
|
|
197
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
198
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
199
|
+
|
|
200
|
+
[[package]]
|
|
201
|
+
name = "indexmap"
|
|
202
|
+
version = "2.14.2"
|
|
203
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
204
|
+
checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855"
|
|
205
|
+
dependencies = [
|
|
206
|
+
"equivalent",
|
|
207
|
+
"hashbrown",
|
|
208
|
+
]
|
|
209
|
+
|
|
210
|
+
[[package]]
|
|
211
|
+
name = "is_terminal_polyfill"
|
|
212
|
+
version = "1.70.2"
|
|
213
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
214
|
+
checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
|
|
215
|
+
|
|
216
|
+
[[package]]
|
|
217
|
+
name = "itoa"
|
|
218
|
+
version = "1.0.19"
|
|
219
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
220
|
+
checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4"
|
|
221
|
+
|
|
222
|
+
[[package]]
|
|
223
|
+
name = "js-sys"
|
|
224
|
+
version = "0.3.107"
|
|
225
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
226
|
+
checksum = "8dc09d2154098bbf4ef54eab6b117a3c24cbbffe94046b16ee6d6d4510584d3a"
|
|
227
|
+
dependencies = [
|
|
228
|
+
"cfg-if",
|
|
229
|
+
"wasm-bindgen",
|
|
230
|
+
]
|
|
231
|
+
|
|
232
|
+
[[package]]
|
|
233
|
+
name = "libc"
|
|
234
|
+
version = "0.2.191"
|
|
235
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
236
|
+
checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
|
|
237
|
+
|
|
238
|
+
[[package]]
|
|
239
|
+
name = "log"
|
|
240
|
+
version = "0.4.35"
|
|
241
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
242
|
+
checksum = "5d15f86d12da44cd8d4ec3c73984537eb7f4cadcb9776a575a0a8a05ca11005c"
|
|
243
|
+
|
|
244
|
+
[[package]]
|
|
245
|
+
name = "memchr"
|
|
246
|
+
version = "2.8.3"
|
|
247
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
248
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
249
|
+
|
|
250
|
+
[[package]]
|
|
251
|
+
name = "nix"
|
|
252
|
+
version = "0.32.0"
|
|
253
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
254
|
+
checksum = "77730ed34f01f4990cb2ea67fec715ecebc6fab9a6396cf83c5529b13f581bdc"
|
|
255
|
+
dependencies = [
|
|
256
|
+
"bitflags",
|
|
257
|
+
"cfg-if",
|
|
258
|
+
"cfg_aliases",
|
|
259
|
+
"libc",
|
|
260
|
+
]
|
|
261
|
+
|
|
262
|
+
[[package]]
|
|
263
|
+
name = "once_cell_polyfill"
|
|
264
|
+
version = "1.70.2"
|
|
265
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
266
|
+
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
|
|
267
|
+
|
|
268
|
+
[[package]]
|
|
269
|
+
name = "proc-macro2"
|
|
270
|
+
version = "1.0.107"
|
|
271
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
272
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
273
|
+
dependencies = [
|
|
274
|
+
"unicode-ident",
|
|
275
|
+
]
|
|
276
|
+
|
|
277
|
+
[[package]]
|
|
278
|
+
name = "quote"
|
|
279
|
+
version = "1.0.47"
|
|
280
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
281
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
282
|
+
dependencies = [
|
|
283
|
+
"proc-macro2",
|
|
284
|
+
]
|
|
285
|
+
|
|
286
|
+
[[package]]
|
|
287
|
+
name = "r-efi"
|
|
288
|
+
version = "6.0.0"
|
|
289
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
290
|
+
checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
|
|
291
|
+
|
|
292
|
+
[[package]]
|
|
293
|
+
name = "rustversion"
|
|
294
|
+
version = "1.0.23"
|
|
295
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
296
|
+
checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
|
|
297
|
+
|
|
298
|
+
[[package]]
|
|
299
|
+
name = "serde"
|
|
300
|
+
version = "1.0.229"
|
|
301
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
302
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
303
|
+
dependencies = [
|
|
304
|
+
"serde_core",
|
|
305
|
+
"serde_derive",
|
|
306
|
+
]
|
|
307
|
+
|
|
308
|
+
[[package]]
|
|
309
|
+
name = "serde_core"
|
|
310
|
+
version = "1.0.229"
|
|
311
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
312
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
313
|
+
dependencies = [
|
|
314
|
+
"serde_derive",
|
|
315
|
+
]
|
|
316
|
+
|
|
317
|
+
[[package]]
|
|
318
|
+
name = "serde_derive"
|
|
319
|
+
version = "1.0.229"
|
|
320
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
321
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
322
|
+
dependencies = [
|
|
323
|
+
"proc-macro2",
|
|
324
|
+
"quote",
|
|
325
|
+
"syn 3.0.10",
|
|
326
|
+
]
|
|
327
|
+
|
|
328
|
+
[[package]]
|
|
329
|
+
name = "serde_json"
|
|
330
|
+
version = "1.0.154"
|
|
331
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
332
|
+
checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
|
|
333
|
+
dependencies = [
|
|
334
|
+
"itoa",
|
|
335
|
+
"memchr",
|
|
336
|
+
"serde",
|
|
337
|
+
"serde_core",
|
|
338
|
+
"zmij",
|
|
339
|
+
]
|
|
340
|
+
|
|
341
|
+
[[package]]
|
|
342
|
+
name = "simd-adler32"
|
|
343
|
+
version = "0.3.10"
|
|
344
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
345
|
+
checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
|
|
346
|
+
|
|
347
|
+
[[package]]
|
|
348
|
+
name = "strsim"
|
|
349
|
+
version = "0.11.1"
|
|
350
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
351
|
+
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
352
|
+
|
|
353
|
+
[[package]]
|
|
354
|
+
name = "syn"
|
|
355
|
+
version = "2.0.119"
|
|
356
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
357
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
358
|
+
dependencies = [
|
|
359
|
+
"proc-macro2",
|
|
360
|
+
"quote",
|
|
361
|
+
"unicode-ident",
|
|
362
|
+
]
|
|
363
|
+
|
|
364
|
+
[[package]]
|
|
365
|
+
name = "syn"
|
|
366
|
+
version = "3.0.10"
|
|
367
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
368
|
+
checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
|
|
369
|
+
dependencies = [
|
|
370
|
+
"proc-macro2",
|
|
371
|
+
"quote",
|
|
372
|
+
"unicode-ident",
|
|
373
|
+
]
|
|
374
|
+
|
|
375
|
+
[[package]]
|
|
376
|
+
name = "typed-path"
|
|
377
|
+
version = "0.13.0"
|
|
378
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
379
|
+
checksum = "9ce898823d8cd0f028662d2f349694b1af0a5cc9be83f1d213a00d3147445e1e"
|
|
380
|
+
|
|
381
|
+
[[package]]
|
|
382
|
+
name = "unicode-ident"
|
|
383
|
+
version = "1.0.27"
|
|
384
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
385
|
+
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
386
|
+
|
|
387
|
+
[[package]]
|
|
388
|
+
name = "utf8parse"
|
|
389
|
+
version = "0.2.2"
|
|
390
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
391
|
+
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|
392
|
+
|
|
393
|
+
[[package]]
|
|
394
|
+
name = "wasm-bindgen"
|
|
395
|
+
version = "0.2.130"
|
|
396
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
397
|
+
checksum = "a0181c14ddd6c7b8b0b0132a5f1ea2f32be0d893cd3ea97b6e3b28886b8a3d1c"
|
|
398
|
+
dependencies = [
|
|
399
|
+
"cfg-if",
|
|
400
|
+
"rustversion",
|
|
401
|
+
"wasm-bindgen-macro",
|
|
402
|
+
"wasm-bindgen-shared",
|
|
403
|
+
]
|
|
404
|
+
|
|
405
|
+
[[package]]
|
|
406
|
+
name = "wasm-bindgen-macro"
|
|
407
|
+
version = "0.2.130"
|
|
408
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
409
|
+
checksum = "6e931a02a39abdbf66966fc35902b5ed58344750a70885bed4ebb3d8eaf28ed9"
|
|
410
|
+
dependencies = [
|
|
411
|
+
"quote",
|
|
412
|
+
"wasm-bindgen-macro-support",
|
|
413
|
+
]
|
|
414
|
+
|
|
415
|
+
[[package]]
|
|
416
|
+
name = "wasm-bindgen-macro-support"
|
|
417
|
+
version = "0.2.130"
|
|
418
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
419
|
+
checksum = "2ca4b54280e455bd831e33a6b8e734baf432fe63fbc35c42ac14ce67a043a53a"
|
|
420
|
+
dependencies = [
|
|
421
|
+
"bumpalo",
|
|
422
|
+
"proc-macro2",
|
|
423
|
+
"quote",
|
|
424
|
+
"syn 3.0.10",
|
|
425
|
+
"wasm-bindgen-shared",
|
|
426
|
+
]
|
|
427
|
+
|
|
428
|
+
[[package]]
|
|
429
|
+
name = "wasm-bindgen-shared"
|
|
430
|
+
version = "0.2.130"
|
|
431
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
432
|
+
checksum = "3b1f9c3798725016c6ee5f2f57869ec0831e8bbc0ab0310a86e787e97f41389e"
|
|
433
|
+
dependencies = [
|
|
434
|
+
"unicode-ident",
|
|
435
|
+
]
|
|
436
|
+
|
|
437
|
+
[[package]]
|
|
438
|
+
name = "windows-link"
|
|
439
|
+
version = "0.2.1"
|
|
440
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
441
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
442
|
+
|
|
443
|
+
[[package]]
|
|
444
|
+
name = "windows-sys"
|
|
445
|
+
version = "0.61.2"
|
|
446
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
447
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
448
|
+
dependencies = [
|
|
449
|
+
"windows-link",
|
|
450
|
+
]
|
|
451
|
+
|
|
452
|
+
[[package]]
|
|
453
|
+
name = "zeroize"
|
|
454
|
+
version = "1.9.2"
|
|
455
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
456
|
+
checksum = "85ccff8a4805aba1eaa4cd4afcd49f7557dd2cf5fd79ffc37f8959466effc5aa"
|
|
457
|
+
dependencies = [
|
|
458
|
+
"zeroize_derive",
|
|
459
|
+
]
|
|
460
|
+
|
|
461
|
+
[[package]]
|
|
462
|
+
name = "zeroize_derive"
|
|
463
|
+
version = "1.5.0"
|
|
464
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
465
|
+
checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328"
|
|
466
|
+
dependencies = [
|
|
467
|
+
"proc-macro2",
|
|
468
|
+
"quote",
|
|
469
|
+
"syn 2.0.119",
|
|
470
|
+
]
|
|
471
|
+
|
|
472
|
+
[[package]]
|
|
473
|
+
name = "zip"
|
|
474
|
+
version = "9.9.0"
|
|
475
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
476
|
+
checksum = "07db37dec4a7c468df4723fba4cadb4822d1d0f10dbea367100b6a6881b2a9c9"
|
|
477
|
+
dependencies = [
|
|
478
|
+
"constant_time_eq",
|
|
479
|
+
"crc32fast",
|
|
480
|
+
"flate2",
|
|
481
|
+
"getrandom",
|
|
482
|
+
"indexmap",
|
|
483
|
+
"libc",
|
|
484
|
+
"memchr",
|
|
485
|
+
"nix",
|
|
486
|
+
"typed-path",
|
|
487
|
+
"windows-sys",
|
|
488
|
+
"zeroize",
|
|
489
|
+
"zopfli",
|
|
490
|
+
]
|
|
491
|
+
|
|
492
|
+
[[package]]
|
|
493
|
+
name = "zlib-rs"
|
|
494
|
+
version = "0.6.9"
|
|
495
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
496
|
+
checksum = "aa76918995d776d9dd34d371030be228d021137449771493d56e29f77e4148ac"
|
|
497
|
+
|
|
498
|
+
[[package]]
|
|
499
|
+
name = "zmij"
|
|
500
|
+
version = "1.0.23"
|
|
501
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
502
|
+
checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
|
|
503
|
+
|
|
504
|
+
[[package]]
|
|
505
|
+
name = "zopfli"
|
|
506
|
+
version = "0.8.4"
|
|
507
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
508
|
+
checksum = "aaf7fc5d30c28483d93805c4a5e12b05bbb52407fa67c5f8bd552374cd01fb11"
|
|
509
|
+
dependencies = [
|
|
510
|
+
"bumpalo",
|
|
511
|
+
"crc32fast",
|
|
512
|
+
"log",
|
|
513
|
+
"simd-adler32",
|
|
514
|
+
]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "baudhound"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
edition = "2024"
|
|
5
|
+
rust-version = "1.89"
|
|
6
|
+
description = "Find UART pins, baud rate and frame format in logic-analyzer captures, and decode the boot log"
|
|
7
|
+
license = "MIT OR Apache-2.0"
|
|
8
|
+
authors = ["Reflex Hardware Security"]
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
repository = "https://github.com/reflex-hs/baudhound"
|
|
11
|
+
keywords = ["uart", "logic-analyzer", "sigrok", "hardware-hacking", "baud"]
|
|
12
|
+
categories = ["command-line-utilities", "embedded", "development-tools::debugging"]
|
|
13
|
+
exclude = ["/.github"]
|
|
14
|
+
|
|
15
|
+
[dependencies]
|
|
16
|
+
anyhow = "1.0.105"
|
|
17
|
+
clap = { version = "4.6.10", features = ["derive"] }
|
|
18
|
+
serde = { version = "1.0.229", features = ["derive"] }
|
|
19
|
+
serde_json = "1.0.154"
|
|
20
|
+
zip = { version = "9.9.0", default-features = false, features = ["deflate"] }
|
|
21
|
+
|
|
22
|
+
[profile.release]
|
|
23
|
+
lto = true
|
|
24
|
+
codegen-units = 1
|