# 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.72"
name = "r2x"
version = "0.0.17"
authors = [
    "pesap <pesap@users.noreply.github.com>",
    "Micah Webb <micahpw@users.noreply.github.com>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A comprehensive framework plugin manager for the r2x power systems modeling ecosystem. Simplifies discovery, installation, and management of r2x framework plugins."
homepage = "https://github.com/NREL/r2x-cli"
documentation = "https://docs.rs/r2x"
readme = "README.md"
keywords = [
    "power-systems",
    "r2x",
    "cli",
    "plugin-manager",
    "uv",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "BSD-3-Clause"
repository = "https://github.com/NREL/r2x-cli"

[package.metadata.wix]
upgrade-guid = "AB0643AB-0F2C-4FDC-ACFB-E7886B50614F"
path-guid = "B2C9C3FE-FD0C-4209-910C-A07D1A71C539"
license = false
eula = false

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.atty]
version = "0.2"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

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

[dependencies.colored]
version = "3.0"

[dependencies.dirs]
version = "6.0"

[dependencies.indicatif]
version = "0.18"

[dependencies.once_cell]
version = "1.19"

[dependencies.r2x-ast]
version = "0.0.5"

[dependencies.r2x-config]
version = "0.0.4"

[dependencies.r2x-logger]
version = "0.0.1"

[dependencies.r2x-manifest]
version = "0.0.4"

[dependencies.r2x-python]
version = "0.0.8"

[dependencies.regex]
version = "1.10"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.thiserror]
version = "2.0"

[dependencies.toml]
version = "0.9"
features = ["preserve_order"]

[dependencies.tracing]
version = "0.1"

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

[dependencies.walkdir]
version = "2.4"

[dependencies.which]
version = "8.0.0"

[dev-dependencies.assert_cmd]
version = "2.1"

[dev-dependencies.predicates]
version = "3.0"

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