Cargo Features

[dependencies]
hg-cpython = { version = "0.0.1", default-features = false, features = ["python27", "python3"] }
default = python27

The python27 feature is set by default whenever hg-cpython is added without default-features = false somewhere in the dependency tree.

python27 default = python27-sys

Enables extension-module-2-7 and python27-sys of cpython ~0.2.1

python3 = python3-sys

Enables extension-module and python3-sys of cpython ~0.2.1

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.

python27-sys python27

Enables python27-sys ~0.2.1

python3-sys python3?

Enables python3-sys ~0.2.1