Cargo Features

IdMap has no features set by default.

[dependencies]
idmap = { version = "0.2.21", features = ["nightly", "serde", "petgraph"] }
nightly

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

petgraph implicit feature

Enables petgraph

Allows implementing IntegerId for graphid