# 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 = "2024"
rust-version = "1.86"
name = "powerio-cli"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command line interface and ratatui TUI for powerio: parse and convert power system case files and emit matrices."
homepage = "https://eigenergy.github.io/powerio/"
documentation = "https://github.com/eigenergy/powerio#readme"
readme = "README.md"
keywords = [
    "matpower",
    "cli",
    "tui",
]
categories = [
    "command-line-utilities",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/eigenergy/powerio"
resolver = "2"

[[bin]]
name = "powerio"
path = "src/main.rs"
doc = false

[dependencies.anyhow]
version = "1"

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

[dependencies.crossterm]
version = "0.29"

[dependencies.powerio-matrix]
version = "0.2.0"
features = ["gridfm"]

[dependencies.ratatui]
version = "0.30"
features = ["crossterm_0_29"]

[dependencies.sprs]
version = "0.11"
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]

[dependencies.walkdir]
version = "2"

[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1
