Cargo Features

PortGraph has no features set by default.

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

Enables pyo3 ^0.21

Affects portgraph::py_graph

serde

Enables serde, serde of bitvec

Affects portgraph::test.ser_roundtrip

petgraph

Enables petgraph

Affects view::petgraph

proptest

Enables proptest and rand

Affects portgraph::proptest