import-cargo
import-cargo copied to clipboard
Improve registry and git based dependencies
I have 2 issues when using import-cargo:
- Can't import dependencies from registries other than
crates.io
- git dependencies doesn't have branch in Cargo.lock
This pull request is solving these issues.
- git dependencies search commit in all refs
- we can pass additional registry configuration, so custom registries would be fetched properly