Cargo Features

PortGraph has no features set by default.

[dependencies]
portgraph = { version = "0.14.0", features = ["pyo3", "serde", "petgraph", "proptest"] }
pyo3

Enables pyo3

There can only be one pyo3 dependency in the whole workspace, so we use a loose version constraint to prevent breaking changes in dependent crates where possible.

serde

Enables serde, serde of bitvec

petgraph

Enables petgraph

Affects view::petgraph

proptest

Enables proptest and rand

Affects portgraph::proptest