This issue was covered #26 but I was not able to get it to work so wanted to double check if the solution is still correct and if you have any advice:
When hosting a Rust dependency in a private repository and using rustler_precompiled, if there is no plans to publish to hex package how can the downstream Mix project fetch the release as the base_url is private and not authenticaiton details are passed through?
Our rustler_precompiled setup has a correct release + checksum-* file etc and works when the project is made public but not if private. The same downstream project is able to pull from the private repo using a GitHub token and compile it but just not rustler_precompiled.
My understanding from a quick glance at the GitHub docs is that rustler_precompiled would need to pass the GitHub Personal Access Token (PAT) through and use the API. This StackOverflow answer also covers it.
This issue was covered #26 but I was not able to get it to work so wanted to double check if the solution is still correct and if you have any advice:
When hosting a Rust dependency in a private repository and using
rustler_precompiled, if there is no plans to publish tohexpackage how can the downstreamMixproject fetch thereleaseas thebase_urlis private and not authenticaiton details are passed through?Our
rustler_precompiledsetup has a correct release +checksum-*file etc and works when the project is madepublicbut not ifprivate. The same downstream project is able to pull from the private repo using aGitHubtoken and compile it but just notrustler_precompiled.My understanding from a quick glance at the GitHub docs is that
rustler_precompiledwould need to pass the GitHub Personal Access Token (PAT) through and use the API. This StackOverflow answer also covers it.