npe-graph 0.1.0

A node-port-edge graph for representing engineering schematics
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 = "npe-graph"
version = "0.1.0"
authors = ["Xander Cesari <xander@merriman.industries>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A node-port-edge graph for representing engineering schematics"
documentation = "https://docs.rs/npe_graph"
readme = "README.md"
categories = ["data-structures"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/flyball-labs/npe-graph"

[features]
default = []
petgraph = ["dep:petgraph"]
serde = [
    "dep:serde",
    "slotmap/serde",
]

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

[[example]]
name = "circuit_diagram"
path = "examples/circuit_diagram.rs"

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

[dependencies.petgraph]
version = "0.8"
optional = true

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

[dependencies.slotmap]
version = "1"

[dev-dependencies.bincode]
version = "1.3"

[dev-dependencies.ron]
version = "0.8"

[dev-dependencies.serde_json]
version = "1"