【发布时间】:2015-06-14 06:18:50
【问题描述】:
到目前为止,我已经看到了三个......
[dependencies]
crate = "1.0.0" # I think this is an exact version match
crate = "^1.0.0" # I think this means "use that latest 1.x.x"
crate = "*" # I think this means "use the latest"
我很想知道如何使用依赖列表。最好有一个权威的来源来记录依赖项的不同语法。
【问题讨论】:
-
我认为这个问题不应该被否决:关于此的文档 not 在一个明显的地方。我几乎检查了
crates.io上的所有其他文档页面,因为我查看了正确的文档,只是为了详尽无遗。
标签: rust rust-cargo