liblitho 0.2.0

cli tool to flash/clone the images to storage devices
Documentation
[package]
name = "liblitho"
version = "0.2.0"
edition = "2021"
authors = ["Girish Joshi <mail@girishjoshi.io>"]
license = "MIT"
description = "cli tool to flash/clone the images to storage devices"
readme = "README.md"
keywords = ["cli", "os", "image", "clone", "flash"]
repository = "https://github.com/girish946/litho"
categories = ["command-line-interface", "command-line-utilities"]

[features]
# Default: simulated flash/clone in binaries — safe for dev and `cargo test`.
default = ["simulated-io"]
simulated-io = []
# Real block I/O in litho + litho-tui binaries. Build with:
#   cargo build --no-default-features --features real-io
real-io = []

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[[bin]]
name = "litho"
path = "src/main.rs"

[[bin]]
name = "litho-tui"
path = "src/main_tui.rs"

[dependencies]
clap = { version = "4.4.18", features = ["derive", "cargo"] }
sha2 = "0.10.8"
libc = "0.2.152"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
env_logger = "0.11.3"
rust-lzma = "0.6.0"
anyhow = "1.0"
thiserror = "2"
log = "0.4"

ratatui = "0.28"
crossterm = "0.28"
fpicker = "0.1.4"

[target.'cfg(windows)'.dependencies]
# Static liblzma via vcpkg so release binaries do not require liblzma.dll at runtime.
rust-lzma = { version = "0.6.0", features = ["static"] }
wmi = "0.17"
winapi = { version = "0.3.9", features = [
  "errhandlingapi",
  "fileapi",
  "handleapi",
  "ioapiset",
  "processthreadsapi",
  "securitybaseapi",
  "shellapi",
  "winbase",
  "winerror",
  "winioctl",
  "winnt",
  "winuser",
] }