network_analysis 0.2.7

Solver for nonlinear networks based on the mesh and nodal analysis methods.
Documentation
# 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"
name = "network_analysis"
version = "0.2.7"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Solver for nonlinear networks based on the mesh and nodal analysis methods."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/StefanMathis/network_analysis.git"
resolver = "2"

[package.metadata.docs.rs]
features = ["serde"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
serde = [
    "dep:serde",
    "nalgebra/serde-serialize",
    "petgraph/serde-1",
    "serde-value",
]

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

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

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

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

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

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

[dependencies.approx]
version = "0.5.1"

[dependencies.cart_lin]
version = "0.2.1"

[dependencies.nalgebra]
version = "0.32"

[dependencies.petgraph]
version = "0.8.3"
features = ["rayon"]

[dependencies.rayon]
version = "1.5"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]
optional = true

[dependencies.serde-value]
version = "0.7"
optional = true

[dev-dependencies]