# 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 = "portmatching" version = "0.4.0-rc.3" authors = ["Luca Mondada"] build = false exclude = ["tests/legacy_saved_patterns/*"] autobins = false autoexamples = false autotests = false autobenches = false description = "Fast Graph Matching for Port Graphs" documentation = "https://docs.rs/portmatching/" readme = "README.md" keywords = [ "data-structure", "graph", "subgraph-isomorphism", ] categories = ["algorithms"] license = "MIT" repository = "https://github.com/lmondada/portmatching" [profile.dev.package.insta] opt-level = 3 [profile.dev.package.similar] opt-level = 3 [lib] name = "portmatching" path = "src/lib.rs" bench = false [[bin]] name = "perf" path = "src/bin/perf.rs" [[example]] name = "matchers" path = "examples/matchers.rs" required-features = ["portgraph"] [[test]] name = "from_testcases" path = "tests/from_testcases.rs" required-features = [ "serde", "portgraph", ] [[test]] name = "proptests" path = "tests/proptests.rs" required-features = [ "proptest", "serde", "portgraph", ] [dependencies.bimap] version = "0.6.2" [dependencies.bitvec] version = "1.0.1" [dependencies.clap] version = "4.2.2" features = ["derive"] optional = true [dependencies.csv] version = "1.2.2" optional = true [dependencies.delegate] version = "0.12.0" [dependencies.derive-where] version = "1.2.7" [dependencies.derive_more] version = "0.99.17" [dependencies.glob] version = "0.3.1" optional = true [dependencies.itertools] version = "0.10.5" [dependencies.petgraph] version = "0.6.5" features = ["serde-1"] [dependencies.portgraph] version = "0.12.2" features = ["petgraph"] optional = true [dependencies.proptest] version = "1.1.0" optional = true [dependencies.rand] version = "0.8.5" optional = true [dependencies.rmp-serde] version = "1.1.1" optional = true [dependencies.rustc-hash] version = "1.1.0" [dependencies.serde] version = "1.0.152" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0.96" optional = true [dependencies.smallvec] version = "1.10.0" [dependencies.thiserror] version = "1.0.61" [dependencies.union-find] version = "0.4.2" [dev-dependencies.criterion] version = "0.4.0" features = ["html_reports"] [dev-dependencies.glob] version = "0.3.1" [dev-dependencies.insta] version = "1.39.0" features = ["yaml"] [dev-dependencies.portgraph] version = "0.12.0" features = [ "proptest", "serde", ] [dev-dependencies.proptest] version = "1.1.0" [dev-dependencies.rstest] version = "0.21.0" [dev-dependencies.serde] version = "1.0.156" [dev-dependencies.serde_json] version = "1.0.96" [features] datagen = [ "dep:rand", "dep:serde_json", "dep:clap", "dep:rmp-serde", "dep:glob", "dep:csv", ] portgraph = ["dep:portgraph"] proptest = [ "dep:proptest", "dep:portgraph", "portgraph/proptest", "dep:glob", ] serde = [ "dep:serde", "portgraph/serde", "smallvec/serde", ]