Cargo Features

[dependencies]
pyo3-stub-gen = { version = "0.6.0", default-features = false, features = ["numpy"] }
default = numpy

The numpy feature is set by default whenever pyo3-stub-gen is added without default-features = false somewhere in the dependency tree.

numpy default

Enables numpy

pyo3-stub-gen has 2 features without comments.