For example, I define 2 functions without dependencies:
[features]
default = []
py2 = []
py3 = []
Based on the selected function ( --features py3), I want to include various functions for the dependency ( cpython):
[dependencies.cpython]
default-features = false
features = ["python3-sys"]
optional = true
Can I do it? Or can I just select the functions for the dependency from the command line?
source
share