Cargo Features
[dependencies]
python-packaging = { version = "0.16.0", default-features = false, features = ["serialization", "spdx-text", "wheel"] }
We make
wheelsupport optional because it has dependencies that we don't want to bloat the dependency tree with.
- default = wheel
-
The
wheelfeature is set by default wheneverpython-packagingis added withoutsomewhere in the dependency tree.default-features = false - serialization = serde
- spdx-text
-
Enables text of spdx ^0.10.0
spdx:
Includes the full canonical text of each license
- wheel default = base64, sha2, time, zip
-
Affects
python-packaging::wheel,python-packaging::wheel_builder…
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.
- base64 wheel
-
Enables base64 ^0.20.0
- serde serialization?
- sha2 wheel
- time wheel
- zip wheel
-
Enables zip ^0.6.3
Affects
python-packaging::zip_app_builder…