Frage

Ich versuche, Cargo Init in Init Cargo Management-System zu verwenden.

aber ich kann nicht sehen, wie das $ home / .cargo erzeugt.

und die Shell Show generasacodicetagpre.

Was ist los auf dem Cargo-Verwaltungssystem?

Mein Betriebssystem ist Mac OSX 10.7

War es hilfreich?

Lösung

The issue is likely that you don't have gpg installed so it can't verify the signature of cargo-central's source file, and then proceeds to not work at all.

This situation where signature verification fails is supposed to be non-fatal, but there was a bug in cargo that caused it to not complete the 'init' command.

I've checked in a change to cargo that I believe should allow it to continue even when signature verification fails, but FWIW cargo could use some love to make it more useful and reliable.

Andere Tipps

cargo appears to shell out to GPG and use crappy regexes on the output. Which fails if your locale isn't what it expects. This worked for me:

LC_MESSAGES=C cargo init
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top