➜ rust-demo git:(dag_blockchain) ✗ cargo build
➜ rust-demo git:(dag_blockchain) ✗ cargo build
error: failed to download from `https://crates.io/api/v1/crates/rand/0.6.1/downl oad`
Caused by:
[35] SSL connect error (schannel: failed to receive handshake, SSL/TLS connect ion failed)
fix this error as follows:
https://github.com/rust-lang/cargo/issues/1689
1. input command "curl " + "download url", example:
curl https://crates.io/api/v1/crates/rand/0.6.1/download -v
2. input command "cargo build --verbose"
3. input command "cargo build"
build success!