[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-io"]
simulated-io = []
real-io = []
[[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]
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",
] }