Cargo Features

[dependencies]
python-oxidized-importer = { version = "0.9.0", default-features = false, features = ["extension-module", "zipimport"] }
default = zipimport

The zipimport feature is set by default whenever python-oxidized-importer is added without default-features = false somewhere in the dependency tree.

extension-module

Build the crate in Python extension module mode. This will make linking correct so the resulting library can be loaded as a Python extension module.

Enables extension-module of pyo3 ^0.17.3

zipimport default = zip

Enable support for importing from zip files.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

zip zipimport

Enables zip ^0.6.3