# 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.87"
name = "surge-bindings"
version = "0.1.3"
authors = ["Amptimal LLC"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Surge CLI integration crate for the Surge power flow solver"
homepage = "https://amptimal.com/surge"
readme = "README.md"
keywords = [
    "power-systems",
    "cli",
    "power-flow",
    "solver",
]
categories = [
    "science",
    "simulation",
    "command-line-utilities",
]
license = "PolyForm-Noncommercial-1.0.0"
repository = "https://github.com/amptimal/surge"
resolver = "2"

[[bin]]
name = "refresh_activsg_psse"
path = "src/bin/refresh_activsg_psse.rs"

[[bin]]
name = "surge-solve"
path = "src/main.rs"

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

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

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

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

[dependencies.anyhow]
version = "1"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.surge-ac]
version = "0.1.3"

[dependencies.surge-contingency]
version = "0.1.3"

[dependencies.surge-dc]
version = "0.1.3"

[dependencies.surge-hvdc]
version = "0.1.3"

[dependencies.surge-io]
version = "0.1.3"

[dependencies.surge-network]
version = "0.1.3"

[dependencies.surge-opf]
version = "0.1.3"

[dependencies.surge-solution]
version = "0.1.3"

[dependencies.surge-transfer]
version = "0.1.3"

[dependencies.tracing]
version = "0.1"

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

[dependencies.zstd]
version = "0.13"
