[dependencies.approx]
version = "0.5.1"
[dependencies.cart_lin]
version = "0.2.1"
[dependencies.nalgebra]
version = "0.32"
[dependencies.petgraph]
features = ["rayon"]
version = "0.8.3"
[dependencies.rayon]
version = "1.5"
[dependencies.serde]
features = ["derive", "rc"]
optional = true
version = "1"
[dependencies.serde-value]
optional = true
version = "0.7"
[dev-dependencies]
[features]
default = []
serde = ["dep:serde", "nalgebra/serde-serialize", "petgraph/serde-1", "serde-value"]
[lib]
name = "network_analysis"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Solver for nonlinear networks based on the mesh and nodal analysis methods"
edition = "2024"
include = ["src/**", "Cargo.toml", "README.md", "docs/**", "tests/**"]
license = "MIT OR Apache-2.0"
name = "network_analysis"
readme = "README.md"
repository = "https://github.com/StefanMathis/network_analysis.git"
version = "0.2.3"
[package.metadata.docs.rs]
features = ["serde"]
[[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"