# 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.12.3" build = 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/CQCL/portgraph" [lib] name = "portgraph" path = "src/lib.rs" bench = false [[bench]] name = "bench_main" path = "benches/bench_main.rs" harness = false [dependencies.bitvec] version = "1.0.1" [dependencies.context-iterators] version = "0.2.0" [dependencies.delegate] version = "0.13.0" [dependencies.itertools] version = "0.13.0" [dependencies.petgraph] version = "0.6.3" optional = true [dependencies.proptest] version = "1.1.0" optional = true [dependencies.pyo3] version = "0.22" features = ["multiple-pymethods"] optional = true [dependencies.rand] version = "0.8.5" optional = true [dependencies.serde] version = "1.0.152" features = ["derive"] optional = true [dependencies.thiserror] version = "2.0.3" [dev-dependencies.criterion] version = "0.5.1" features = ["html_reports"] [dev-dependencies.insta] version = "1.39.0" [dev-dependencies.itertools] version = "0.13.0" [dev-dependencies.rmp-serde] version = "1.1.1" [dev-dependencies.rstest] version = "0.23.0" [features] petgraph = ["dep:petgraph"] proptest = [ "dep:proptest", "dep:rand", ] pyo3 = ["dep:pyo3"] serde = [ "dep:serde", "bitvec/serde", ]