-
Can binstall be used for crates that are not published to crates.io, in a non-public GitHub repo? |
Beta Was this translation helpful? Give feedback.
Answered by
NobodyXu
Dec 20, 2023
Replies: 1 comment 2 replies
-
That's possible, the simplest solution is to write a "Cargo.toml" which includes crate name, version and link to repository, and then provide a GITHUB_TOKEN which has at least read access to the private repository. If you want something more elegant, then you can create a private cargo registry and use them in cargo-binstall. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
metasim
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's possible, the simplest solution is to write a "Cargo.toml" which includes crate name, version and link to repository, and then provide a GITHUB_TOKEN which has at least read access to the private repository.
If you want something more elegant, then you can create a private cargo registry and use them in cargo-binstall.