kuretchi / cargo-simple-bundler

Packs only necessary modules of the crate into a single file automatically.
Apache License 2.0
4 stars 1 forks source link

Add `--branch main` option to the command in README #1

Closed qryxip closed 3 years ago

qryxip commented 3 years ago

https://github.com/rust-lang/cargo/blob/963bfe4dd9e3b35738182f4e1667c0197d2ab60c/src/cargo/sources/git/utils.rs#L4-L107

qryxip commented 3 years ago
❯ cargo install --git https://github.com/kuretchi/cargo-simple-bundler
    Updating git repository `https://github.com/kuretchi/cargo-simple-bundler`
error: failed to find branch `master`

Caused by:
  cannot locate remote-tracking branch 'origin/master'; class=Reference (4); code=NotFound (-3)
kuretchi commented 3 years ago

Thanks!