
来自Cargo.toml
[dependencies.filecoin-proofs-api]
package = "filecoin-proofs-api"
version = "5.4.1"
default-features = false 我使用自己的GitHub地址,如何配置?
发布于 2021-03-19 13:15:24
在您的配置中将version替换为git。
这是一个来自https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html的例子,
[dependencies]
rand = { git = "https://github.com/rust-lang-nursery/rand", branch = "next" }您的示例将如下所示
[dependencies.filecoin-proofs-api]
package = "filecoin-proofs-api"
git = "ssh://git@github.com/filecoin-project/rust-filecoin-proofs-api.git"
default-features = falsehttps://stackoverflow.com/questions/66702752
复制相似问题