How to pull a dependency with different features under Cargo.toml “dependencies” and “dev-dependencies”?

后端 未结 0 1186
北恋
北恋 2021-01-04 07:06

Suppose you have a dependency called "dep" which has two features called f1 and f2. I want to use "dep" with the f1 feature when I\'m building my crate n

相关标签:
回答
  • 消灭零回复
提交回复
热议问题