我有两个木箱:
我可以通过运行
A
和 B
。 A
依赖于 B
,而 B
有一个名为 some_feature
的功能。我可以通过运行
cargo build --features=some_feature
来使用 cargo 构建 B
,但当编译 A
时,如何设置与 B
的底层木箱一样的功能?我可以选择启用或禁用 some_feature
吗?