Skip to content

Commit

Permalink
Add Taplo config file and format Cargo manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebraham committed Feb 5, 2025
1 parent 83d342e commit bdb55c3
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 42 deletions.
13 changes: 7 additions & 6 deletions cargo-espflash/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[package]
name = "cargo-espflash"
version = "4.0.0-dev"
edition = "2021"
name = "cargo-espflash"
version = "4.0.0-dev"
edition = "2021"
rust-version = "1.82"
description = "Cargo subcommand for flashing Espressif devices"
repository = "https://github.com/esp-rs/espflash"
license = "MIT OR Apache-2.0"
description = "Cargo subcommand for flashing Espressif devices"
repository = "https://github.com/esp-rs/espflash"
license = "MIT OR Apache-2.0"

keywords = ["cargo", "cli", "embedded", "esp"]
categories = [
"command-line-utilities",
Expand Down
67 changes: 31 additions & 36 deletions espflash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,43 +23,38 @@ path = "./src/bin/espflash.rs"
required-features = ["cli", "serialport"]

[dependencies]
addr2line = { version = "0.22.0", optional = true }
base64 = "0.22.1"
bytemuck = { version = "1.21.0", features = ["derive"] }
clap = { version = "4.5.24", features = [
"derive",
"env",
"wrap_help",
], optional = true }
clap_complete = { version = "4.5.41", optional = true }
comfy-table = { version = "7.1.3", optional = true }
crossterm = { version = "0.25.0", optional = true } # 0.26.x and 0.27.x causes issues on Windows
ctrlc = { version = "3.4.5", optional = true }
# defmt dependencies are pinned since defmt does not guarantee MSRV even for patch releases
defmt-decoder = { version = "=0.4.0", features = ["unstable"], optional = true }
defmt-parser = { version = "=0.4.1", features = ["unstable"], optional = true }
dialoguer = { version = "0.11.0", optional = true }
directories = { version = "5.0.1", optional = true }
env_logger = { version = "0.11.6", optional = true }
esp-idf-part = "0.5.0"
flate2 = "1.0.35"
hex = { version = "0.4.3", features = ["serde"]}
indicatif = { version = "0.17.9", optional = true }
lazy_static = { version = "1.5.0", optional = true }
log = "0.4.22"
md-5 = "0.10.6"
miette = "7.4.0"
parse_int = { version = "0.6.0", optional = true }
regex = { version = "1.11.1", optional = true }
serde = { version = "1.0.217", features = ["derive"] }
serialport = { version = "4.6.1", default-features = false, optional = true }
sha2 = "0.10.8"
slip-codec = { version = "0.4.0", optional = true }
strum = { version = "0.26.3", features = ["derive"] }
thiserror = "2.0.10"
toml = { version = "0.8.19", optional = true }
addr2line = { version = "0.22.0", optional = true }
base64 = "0.22.1"
bytemuck = { version = "1.21.0", features = ["derive"] }
clap = { version = "4.5.24", features = ["derive", "env", "wrap_help"], optional = true }
clap_complete = { version = "4.5.41", optional = true }
comfy-table = { version = "7.1.3", optional = true }
crossterm = { version = "0.25.0", optional = true }
ctrlc = { version = "3.4.5", optional = true }
defmt-decoder = { version = "=0.4.0", features = ["unstable"], optional = true }
defmt-parser = { version = "=0.4.1", features = ["unstable"], optional = true }
dialoguer = { version = "0.11.0", optional = true }
directories = { version = "5.0.1", optional = true }
env_logger = { version = "0.11.6", optional = true }
esp-idf-part = "0.5.0"
flate2 = "1.0.35"
hex = { version = "0.4.3", features = ["serde"] }
indicatif = { version = "0.17.9", optional = true }
lazy_static = { version = "1.5.0", optional = true }
log = "0.4.22"
md-5 = "0.10.6"
miette = "7.4.0"
parse_int = { version = "0.6.0", optional = true }
regex = { version = "1.11.1", optional = true }
serde = { version = "1.0.217", features = ["derive"] }
serialport = { version = "4.6.1", default-features = false, optional = true }
sha2 = "0.10.8"
slip-codec = { version = "0.4.0", optional = true }
strum = { version = "0.26.3", features = ["derive"] }
thiserror = "2.0.10"
toml = { version = "0.8.19", optional = true }
update-informer = { version = "1.2.0", optional = true }
xmas-elf = "0.9.1"
xmas-elf = "0.9.1"

[target.'cfg(unix)'.dependencies]
libc = "0.2.169"
Expand Down
5 changes: 5 additions & 0 deletions taplo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[formatting]
align_entries = true
allowed_blank_lines = 1
column_width = 100
reorder_arrays = true

0 comments on commit bdb55c3

Please sign in to comment.