是。使用dev依赖关系。从
Cargo docs:
原文链接:https://www.f2er.com/javaschema/282088.htmlYou can add a
[dev-dependencies]
section to yourCargo.toml
whose format is equivalent to[dependencies]
:06000
Dev-dependencies are not used when compiling a package for building,but are used for compiling tests,examples,and benchmarks.