-
I have crate-foo and crate-bar.
-
crate-bar depends on crate-foo
-
crate-foo has a section that looks like
[features]
default = []
gpu = [ ... ]
...
- Now, for crate-bar, I want to somehow specify a GPU feature in the following way:
4a. if crate-bar has gpu enabled, then it pulls in gpu-enabled crate-foo. If crate-bar does NOT have gpu enabled, then it pulls in non-gpu-eanbled crate-foo.
- Is there a way to achieve the above?