# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.87"
name = "nander-rs"
version = "0.5.0"
authors = ["driezy <shisoratsu@icloud.com>"]
build = false
exclude = [
    "docs/*",
    "*.txt",
    ".github/*",
    "build_errors.txt",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Modern SPI NAND/NOR Flash programmer for CH341A with cross-platform GUI and comprehensive diagnostics"
homepage = "https://github.com/tinnci/nander-rs"
documentation = "https://docs.rs/nander-rs"
readme = "README.md"
keywords = [
    "flash",
    "spi",
    "nand",
    "programmer",
    "ch341a",
]
categories = [
    "embedded",
    "hardware-support",
    "command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tinnci/nander-rs"

[lib]
name = "nander_rs"
path = "src/lib.rs"

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

[[test]]
name = "e2e_nand"
path = "tests/e2e_nand.rs"

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4.42"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.colored]
version = "2"

[dependencies.eframe]
version = "0.33.3"

[dependencies.egui]
version = "0.33.3"

[dependencies.egui_extras]
version = "0.33.3"
features = ["all_loaders"]

[dependencies.env_logger]
version = "0.11"

[dependencies.futures-lite]
version = "2"

[dependencies.hex]
version = "0.4"

[dependencies.indicatif]
version = "0.17"

[dependencies.log]
version = "0.4"

[dependencies.nusb]
version = "0.1"

[dependencies.rfd]
version = "0.15"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.148"

[dependencies.thiserror]
version = "2"

[dev-dependencies.mockall]
version = "0.13"

[dev-dependencies.tempfile]
version = "3"

[profile.release]
lto = true
codegen-units = 1
strip = true
