rust-cross / rust-musl-cross

Docker images for compiling static Rust binaries using musl-cross
MIT License
620 stars 68 forks source link

Private git repository #7

Closed xoac closed 1 year ago

xoac commented 6 years ago

Hi, I would like to use this when and have no idea how to manage it.

[dependencies]
package = { git = "https://@git.private.com/repo/repo.git" }
xoac commented 6 years ago

Ok The workaround if sb is looking:

# inside my project
$ git submodule add https://@git.private.com/repo/repo.git

Then edit Cargo.toml

[dependencies]
package = { path = "repo" }

Now it can be easy passed to docker container 👍 but it would be nice to could use git = in with cargo. So I left it still open.