portgraph 0.16.0

Data structure library for directed graphs with first-level ports.
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 = "2021"
rust-version = "1.75"
name = "portgraph"
version = "0.16.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Data structure library for directed graphs with first-level ports."
documentation = "https://docs.rs/portgraph/"
readme = "README.md"
keywords = [
    "data-structure",
    "graph",
]
categories = ["data-structures"]
license = "Apache-2.0"
repository = "https://github.com/Quantinuum/portgraph"

[features]
petgraph = ["dep:petgraph"]
proptest = [
    "dep:proptest",
    "dep:rand",
]
pyo3 = ["dep:pyo3"]
serde = [
    "dep:serde",
    "bitvec/serde",
]

[lib]
name = "portgraph"
path = "src/lib.rs"
bench = false

[[bench]]
name = "criterion_benches"
path = "benches/criterion_benches.rs"
harness = false

[[bench]]
name = "iai_benches"
path = "benches/iai_benches.rs"
harness = false

[dependencies.bitvec]
version = "1.0.1"

[dependencies.delegate]
version = "0.13.4"

[dependencies.itertools]
version = "0.14.0"

[dependencies.num-traits]
version = "0.2.19"

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

[dependencies.proptest]
version = "1.10.0"
optional = true

[dependencies.pyo3]
version = ">= 0.27, < 0.29"
features = ["multiple-pymethods"]
optional = true

[dependencies.rand]
version = "0.9.2"
optional = true

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

[dependencies.smallvec]
version = "1.15.1"
features = ["union"]

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.criterion]
version = ">= 0.5.1, < 0.9.0"
features = ["html_reports"]

[dev-dependencies.iai-callgrind]
version = "0.16.1"

[dev-dependencies.insta]
version = "1.46.3"

[dev-dependencies.itertools]
version = "0.14.0"

[dev-dependencies.rmp-serde]
version = "1.3.0"

[dev-dependencies.rstest]
version = "0.26.1"

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

[profile.bench]
debug = 2