monadium
sccache
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
monadium
- Exploring the problem of faster Cargo Docker builds
-
What are you using for web server mostly?
Here's one of the modules: https://github.com/marcusradell/monadium/blob/main/src/domain/identities/mod.rs
-
Rust for backend development?
If you are setting up CI/CD, here's an example of how I do it based on feedback here on Reddit: https://github.com/marcusradell/monadium/blob/main/.github/workflows/cd.yml.
-
Github actions 10 mins deploy for small dockerized web app
I have two versions for comparison, one that caches and one that doesn't. Both are called "Docker Copy Only" and are based on your yaml and docker setup as seen here: https://github.com/marcusradell/monadium/actions. Any clue why the caches isn't kicking in?
-
Is modularizing of application logic common in Rust?
I'm doing my first (web server) project in Rust: https://github.com/marcusradell/monadium/.
sccache
-
Mozilla sccache: cache with cloud storage
Worth noting that the first commit in sccache git repository was in 2014 (https://github.com/mozilla/sccache/commit/115016e0a83b290dc2...). So I suppose that what "happened" happened waay back.
- Welcome to Apache OpenDAL
-
Target file are very huge and running out of storage on mac.
If you have lots of shared dependencies, maybe try sccache?
-
S3 Express Is All You Need
I'm going to set up sccache [0] to use it tomorrow. We use MSVC, so EFS is off the cards.
[0] https://github.com/mozilla/sccache/blob/main/docs/S3.md
- sccache
-
Serde has started shipping precompiled binaries with no way to opt out
I think the primary benefit of pre-built procmacros will be for build servers which don't use a persistent cache (like sccache), since they have to compile all dependencies every time. But IMO improved support for persistent caches would be a better investment compared to adding support for pre-built procmacros.
-
Cache dependencies across crates
Checkout https://github.com/mozilla/sccache
-
Distcc: A fast, free distributed C/C++ compiler
https://github.com/mozilla/sccache is another option which addresses the use cases of both icecream and ccache (and also supports Rust, and cloud storage of artifacts, if those are useful for you)
-
How to fix Rust Coding LARGE files????
That being said a compilation cache, eg the de-facto standard for Rust: sccache (https://github.com/mozilla/sccache) will help to compile and store some of the build artifacts centralized - still for each crate version + build profile (RUSTFLAGS) combination.
-
On the verge of giving up learning Haskell because of the terrible tooling.
That's definitely not my experience. Never had any issue running Rust on Windows. You just download and run rustup-init.exe, then updating is simply a matter of rustup update. Documentation generation is built in (cargo doc) and just a case of annotating code with triple-/ markdown comments and then running that command. sccache works fine for me (just need to set RUSTC_WRAPPER=/path/to/sccache). And the error messages from rustc are by far the best of any compiler I've used. Not sure how they're unhelpful, they tend to explain step-by-step what the problem is and how to fix it.
What are some alternatives?
cargo-chef - A cargo-subcommand to speed up Rust Docker builds using Docker layer caching.
ccache - ccache – a fast compiler cache
dropshot - expose REST APIs from a Rust program
futurenhs-platform - 🩺 🚑 👩🏽⚕️🚤👨🏻⚕️👩🏿⚕️👨🏾⚕️🚁👩🏼⚕️ 🚑 🩺
rust-cache - A GitHub Action that implements smart caching for rust/cargo projects
actix_sqlx_mysql_user_crud - A user crud written in Rust, designed to connect to a MySQL database with full integration test coverage.
cache - Cache dependencies and build outputs in GitHub Actions
minixpd - Miniature experienced
icecream - Distributed compiler with a central scheduler to share build load
miniserve - 🌟 For when you really just want to serve some files over HTTP right now!
mold - Mold: A Modern Linker 🦠