-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
168 lines (154 loc) · 5.49 KB
/
Cargo.toml
File metadata and controls
168 lines (154 loc) · 5.49 KB
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
[package]
name = "yap"
repository = "https://github.com/nullstalgia/yap"
version = "0.1.1-pre.0"
# Note to self, if doing a pre-release:
# start at: -pre.0
# just -pre will go before any .x entries
edition = "2024"
[features]
default = []
# Allow flashing connected ESP32 targets with binary and ELF files
espflash = ["dep:espflash"]
logging = []
defmt = [
"dep:defmt-decoder",
"dep:defmt-parser",
"dep:ratatui-explorer",
"dep:md5",
"dep:notify",
"dep:native-dialog",
]
defmt-watch = ["defmt", "dep:notify"]
macros = []
# Application will default to placing configs/logs adjacent to executable
portable = []
# defaults to Lite.
self-replace = ["dep:self-replace", "portable", "yap-lite"]
# GitHub release flavors
# Full should have _all_ features enabled and available
yap-full = ["yap-lite", "espflash", "defmt-watch"]
# Lite trims things not everyone might want (i.e. espflash and defmt support)
yap-lite = ["logging", "macros"]
[dependencies]
ansi-to-tui = { git = "https://github.com/nullstalgia/ansi-to-tui", branch = "lossy_and_line_endings" }
# ansi-to-tui = { path = "../ansi-to-tui" }
# ansi-to-tui = "7.0.0"
arboard = { version = "3.6.0", features = ["wayland-data-control"] }
arc-swap = "1.7.1"
better-panic = "0.3.0"
bstr = "1.12.0"
camino = { version = "1.1.9", features = ["serde1"] }
chrono = "0.4.39"
clap = { version = "4.5.40", features = ["derive"] }
color-eyre = "0.6.3"
# color-eyre = { path = "/home/tony/git/eyre/color-eyre/" }
compact_str = { version = "0.9.0", features = ["serde"] }
# crokey = { path = "../crokey", features = ["serde"] }
crokey = { version = "=1.1.2", features = ["serde"] }
crossbeam = "0.8.4"
crossterm = "=0.28.1"
# defmt-decoder = { version = "1.0.0", optional = true }
# these are slightly more updated than the versions on crates.io
defmt-decoder = { git = "https://github.com/knurling-rs/defmt", package = "defmt-decoder", optional = true, rev = "d52b9908c175497d46fc527f4f8dfd6278744f09" }
defmt-parser = { git = "https://github.com/knurling-rs/defmt", package = "defmt-parser", optional = true, rev = "d52b9908c175497d46fc527f4f8dfd6278744f09" }
derivative = "2.2.0"
directories = "6.0.0"
enum-rotate = "0.1.1"
# enum_rotate = { path = "../enum-rotate" }
espflash = { version = "4.0.1", optional = true, default-features = false, features = [
"serialport",
] }
# espflash = { path = "../espflash/espflash", optional = true, features = ["serialport"] }
# espflash = { git = "https://github.com/nullstalgia/espflash", branch = "public_verify_and_skip", optional = true, default-features = false, features = [
# "serialport",
# ] }
fs-err = "3.1.0"
hex = "0.4.3"
http = "1.3.1"
human-panic = "2.0.2"
indexmap = { version = "2.9.0", features = ["serde"] }
# int-enum = { git = "https://github.com/nullstalgia/int-enum-rs", branch = "feat/colors-and-discriminators" }
int-enum = "1.2.0"
itertools = "0.14.0"
libc = "0.2.169"
md5 = { version = "0.8.0", optional = true }
memchr = "2.7.4"
# using instead of rfd (rusty file dialog) since it only adds ~20 deps, not ~100.
native-dialog = { version = "0.9.0", optional = true }
nom = "7.1"
notify = { version = "8.0.0", features = [
"crossbeam-channel",
], optional = true }
num-integer = "0.1.46"
opener = "0.8.2"
# log = "0.4.25"
# num_enum = "0.7.3"
ratatui = { version = "0.29.0", features = ["unstable-rendered-line-info"] }
ratatui-explorer = { version = "0.2.1", optional = true }
ratatui-macros = "0.6.0"
regex = "1.11.1"
reqwest = "0.12.22"
# regex-lite = "0.1.6"
rolling-file = "0.2.0"
self-replace = { version = "1.5.0", optional = true }
semver = "1.0.26"
serde = { version = "1.0", features = ["derive"] }
serde_with = "3.14.0"
serialport = { version = "4.7.2", features = ["serde"] }
sha2 = "0.10.9"
strip-ansi-escapes = "0.2.1"
struct-table = { path = "struct-table" }
strum = { version = "0.27", features = ["derive"] }
takeable = "0.2.2"
# TODO update once ratatui's exposed crossterm updates
# but these work for now.
terminput = "0.4.2"
terminput-crossterm = "0.1.2"
textwrap = "0.16.2"
thiserror = "2.0.12"
tinyvec = { version = "1.9.0", features = ["std"] }
toml = "0.8.21"
tracing = { version = "0.1.41", features = ["log"] }
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3.19", features = ["chrono", "env-filter"] }
tui-big-text = "0.7.1"
tui-input = "0.14"
# unescaper = "0.1.5"
unicode-width = "0.2.0"
virtual-serialport = "0.1.3"
[target.'cfg(windows)'.dependencies]
self_update = { version = "0.42.0", features = [
"compression-zip-bzip2",
"compression-zip-deflate",
] }
windows-sys = { version = "0.59", features = [
"Win32_Foundation",
"Win32_System_Console",
] }
[target.'cfg(unix)'.dependencies]
self_update = { version = "0.42.0", features = ["compression-flate2"] }
# For Raspi 1B via `cross`
[target.arm-unknown-linux-gnueabihf.dependencies]
openssl = { version = "0.10", features = ["vendored"] }
# For Raspi 2-4
[target.armv7-unknown-linux-gnueabihf.dependencies]
openssl = { version = "0.10", features = ["vendored"] }
# For Raspi 2-4 (64-bit)
[target.aarch64-unknown-linux-gnu.dependencies]
openssl = { version = "0.10", features = ["vendored"] }
[target.'cfg(windows)'.build-dependencies]
embed-resource = "1.4"
[build-dependencies]
copy_to_output = { git = "https://github.com/dougcooper/copy_to_output", rev = "270cffcb13b6e3716a3309515b20f0d70137561c" }
[dev-dependencies]
enable-ansi-support = "0.2.1"
rand = "0.9.2"
# Enable when flamegraphing
# [profile.release]
# debug = true
[profile.release]
lto = true
# Speeds up rendering operations for debug builds
[profile.dev.package.ratatui]
opt-level = 3