Skip to content

Commit 74f6f80

Browse files
authored
Add Taplo config file and format Cargo manifests (#743)
1 parent 83d342e commit 74f6f80

File tree

3 files changed

+43
-42
lines changed

3 files changed

+43
-42
lines changed

cargo-espflash/Cargo.toml

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[package]
2-
name = "cargo-espflash"
3-
version = "4.0.0-dev"
4-
edition = "2021"
2+
name = "cargo-espflash"
3+
version = "4.0.0-dev"
4+
edition = "2021"
55
rust-version = "1.82"
6-
description = "Cargo subcommand for flashing Espressif devices"
7-
repository = "https://github.com/esp-rs/espflash"
8-
license = "MIT OR Apache-2.0"
6+
description = "Cargo subcommand for flashing Espressif devices"
7+
repository = "https://github.com/esp-rs/espflash"
8+
license = "MIT OR Apache-2.0"
9+
910
keywords = ["cargo", "cli", "embedded", "esp"]
1011
categories = [
1112
"command-line-utilities",

espflash/Cargo.toml

+31-36
Original file line numberDiff line numberDiff line change
@@ -23,43 +23,38 @@ path = "./src/bin/espflash.rs"
2323
required-features = ["cli", "serialport"]
2424

2525
[dependencies]
26-
addr2line = { version = "0.22.0", optional = true }
27-
base64 = "0.22.1"
28-
bytemuck = { version = "1.21.0", features = ["derive"] }
29-
clap = { version = "4.5.24", features = [
30-
"derive",
31-
"env",
32-
"wrap_help",
33-
], optional = true }
34-
clap_complete = { version = "4.5.41", optional = true }
35-
comfy-table = { version = "7.1.3", optional = true }
36-
crossterm = { version = "0.25.0", optional = true } # 0.26.x and 0.27.x causes issues on Windows
37-
ctrlc = { version = "3.4.5", optional = true }
38-
# defmt dependencies are pinned since defmt does not guarantee MSRV even for patch releases
39-
defmt-decoder = { version = "=0.4.0", features = ["unstable"], optional = true }
40-
defmt-parser = { version = "=0.4.1", features = ["unstable"], optional = true }
41-
dialoguer = { version = "0.11.0", optional = true }
42-
directories = { version = "5.0.1", optional = true }
43-
env_logger = { version = "0.11.6", optional = true }
44-
esp-idf-part = "0.5.0"
45-
flate2 = "1.0.35"
46-
hex = { version = "0.4.3", features = ["serde"]}
47-
indicatif = { version = "0.17.9", optional = true }
48-
lazy_static = { version = "1.5.0", optional = true }
49-
log = "0.4.22"
50-
md-5 = "0.10.6"
51-
miette = "7.4.0"
52-
parse_int = { version = "0.6.0", optional = true }
53-
regex = { version = "1.11.1", optional = true }
54-
serde = { version = "1.0.217", features = ["derive"] }
55-
serialport = { version = "4.6.1", default-features = false, optional = true }
56-
sha2 = "0.10.8"
57-
slip-codec = { version = "0.4.0", optional = true }
58-
strum = { version = "0.26.3", features = ["derive"] }
59-
thiserror = "2.0.10"
60-
toml = { version = "0.8.19", optional = true }
26+
addr2line = { version = "0.22.0", optional = true }
27+
base64 = "0.22.1"
28+
bytemuck = { version = "1.21.0", features = ["derive"] }
29+
clap = { version = "4.5.24", features = ["derive", "env", "wrap_help"], optional = true }
30+
clap_complete = { version = "4.5.41", optional = true }
31+
comfy-table = { version = "7.1.3", optional = true }
32+
crossterm = { version = "0.25.0", optional = true }
33+
ctrlc = { version = "3.4.5", optional = true }
34+
defmt-decoder = { version = "=0.4.0", features = ["unstable"], optional = true }
35+
defmt-parser = { version = "=0.4.1", features = ["unstable"], optional = true }
36+
dialoguer = { version = "0.11.0", optional = true }
37+
directories = { version = "5.0.1", optional = true }
38+
env_logger = { version = "0.11.6", optional = true }
39+
esp-idf-part = "0.5.0"
40+
flate2 = "1.0.35"
41+
hex = { version = "0.4.3", features = ["serde"] }
42+
indicatif = { version = "0.17.9", optional = true }
43+
lazy_static = { version = "1.5.0", optional = true }
44+
log = "0.4.22"
45+
md-5 = "0.10.6"
46+
miette = "7.4.0"
47+
parse_int = { version = "0.6.0", optional = true }
48+
regex = { version = "1.11.1", optional = true }
49+
serde = { version = "1.0.217", features = ["derive"] }
50+
serialport = { version = "4.6.1", default-features = false, optional = true }
51+
sha2 = "0.10.8"
52+
slip-codec = { version = "0.4.0", optional = true }
53+
strum = { version = "0.26.3", features = ["derive"] }
54+
thiserror = "2.0.10"
55+
toml = { version = "0.8.19", optional = true }
6156
update-informer = { version = "1.2.0", optional = true }
62-
xmas-elf = "0.9.1"
57+
xmas-elf = "0.9.1"
6358

6459
[target.'cfg(unix)'.dependencies]
6560
libc = "0.2.169"

taplo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[formatting]
2+
align_entries = true
3+
allowed_blank_lines = 1
4+
column_width = 100
5+
reorder_arrays = true

0 commit comments

Comments
 (0)