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