Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
guix
Read-only mirror of GNU Guix — pull requests are ignored, see https://guix.gnu.org/en/manual/en/guix.html#Submitting-Patches instead (by guix-mirror)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
We had previously tried panamax but it broke constantly. Well, recently we tried again and it worked beautifully this time and we used it to create an offline mirror. It was pretty straightforward to set up, has plenty of customization options, and is quick to update. It includes the Rust toolchain itself as well as the entire ecosystem of https://crates.io/. It's amazing, and it feels like we're online almost! The entire mirror is only about 150GB. Not bad!
Further we use cargo-auditable and cargo-audit as part of both our pipeline and regular scanning of all deployed services. This makes our InfoSec and Legal super happy since it means they can also monitor compliance with licenses and patch/update timings.
Further we use cargo-auditable and cargo-audit as part of both our pipeline and regular scanning of all deployed services. This makes our InfoSec and Legal super happy since it means they can also monitor compliance with licenses and patch/update timings.
Do note that cargo vendor can’t handle duplicated dependencies 1. Not a very widespread issue, but there are some projects that (even intentionally) have duplicated dependencies, which prevents this command from working with them.
You should perhaps utilize guix for your projects. It provides rather acceptable rust resp. crates support and in a perfectly reproducible build environment. But be aware, that it even tries to build even the rust compiler from source by going through all this nasty steps of its iterative bootstrap process. This can be a little bit complex and time-consuming, if you need an up-to-date version of rustc.
We had previously tried panamax but it broke constantly. Well, recently we tried again and it worked beautifully this time and we used it to create an offline mirror. It was pretty straightforward to set up, has plenty of customization options, and is quick to update. It includes the Rust toolchain itself as well as the entire ecosystem of https://crates.io/. It's amazing, and it feels like we're online almost! The entire mirror is only about 150GB. Not bad!
# $HOME/.cargo/config.toml [...] [registry] default = "gitea" [registries.crates] index = "https://github.com/rust-lang/crates.io-index.git" [registries.gitea] index = "https://gitea.localhost.local/user/_cargo-index.get" [...]
An example would be wgsl-analyzer's ide crate (see their Cargo.toml). They intentionally depend on multiple versions of naga for the users of the LSP server to choose from at runtime.