Cargo feature pass through to another crate


I am working on a project where I am going to create Python bindings for my rust code. I was planning on using the cpython crate and am trying to figure out if there is a way to pass through features to the other crates.

What I would like to do is expose the cpythons features as features on my own project (so it can build python2 or python3 bindings). Is there a way to have features in one crate control features in a dependency?


Yes, see the discussion here.