poe-stash-indexer
muslrust
Our great sponsors
poe-stash-indexer | muslrust | |
---|---|---|
7 | 5 | |
12 | 885 | |
- | - | |
8.6 | 7.7 | |
8 days ago | about 2 months ago | |
Rust | Rust | |
- | MIT License |
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.
poe-stash-indexer
-
Caching of GitLab CI is too slow for rust build.
Here is a pipeline when the cache was missed due to GitHub cache eviction, so a fresh build. Here is a pipeline when the cache was hit.
-
Nix shell related questions (for rust)
Wrt #2: I use VSCodium with manually installed extensions as well. In my shell.nix I have cargo and rusr-analyzer as build inputs and I start the editor from within the nix shell via nix-shell && code . which works fine. Here is my config , but maybe I misunderstood your problem.
-
Faster CI builds?
IIRC the single most effective thing for my CI setup was using mold as a linker. There are good resources on the web on how to set that up. This is what I did for my docker builds.
-
Trade API service for currency & bulk items in Sentinel league
as mentioned in my post a few weeks ago, I am running my public trade API service for Sentinel league as well.
-
Trade API service for currency & bulk items
All API documentation and further info can be found on this GitHub repository. I plan on running this during the upcoming challenge leagues as well.
-
Alpine fails to run my app - what steps should I take now?
I also use alpine to run my app, maybe this Dockerfile helps you link.
-
Idiot's guide to a Docker deployment?
Already some good comments there, but here is how I did it recently.
muslrust
-
Outlook in the terminal
That's isn't true, one can make fully independent static binary in rust
-
Idiot's guide to a Docker deployment?
The winning combo that I found works great is a multistage build, using clux/muslrust to build the dependencies + the binary itself, then using a scratch image as the final stage. Depending on the complexity, the statically linked images I use range from ~9MB to ~22MB. The 9MB image was ported from an existing container that was dynamically linked, and if I remember right, the image was in the ~70-80MB range using debian:buster-slim as the final stage.
-
Guidance about cross compilation tools, especially targeting musl
muslrust: seems to be active last commit on Oct 2, 2021. But what is the difference compared to the one above?
-
"internal compiler error: failed to process buffered lint" with actix-http, only on linux on azure pipeline
Oh, I remember that I use https://github.com/clux/muslrust and is there what the bug is triggered. Weirdly, running it locally not show it.
-
Porting a serverless chatbot from Python to Rust
After a lot of searching I came across a Docker image which provides a clean environment for building Rust linked against musl libc. It includes curl, pq, sqlite3, and zlib, but the main one I needed was OpenSSL. This container image solved my problem and I can run using Docker locally as well as in the GitHub Action build workflow.
What are some alternatives?
POE-TradeMacro - Price checking script for Path of Exile.
rust-musl-builder - Docker images for compiling static Rust binaries using musl-libc and musl-gcc, with static versions of useful C libraries. Supports openssl and diesel crates.
nocargo - [alpha] Build Rust crates with Nix Build System.
upx-action - Strips and runs upx on binaries
rust-shell - Nix shells for Rust development
rust-musl-cross - Docker images for compiling static Rust binaries using musl-cross
Bazel - a fast, scalable, multi-language and extensible build system
oasis - a small statically-linked linux system
gitlab
rab - Rusty Armor Builds - Monster Hunter Rise Armor Set Creation Tool
lazy_crafter - Offline craft calculator for Path of Exile with tools for crafting.
aws-lambda-rust-runtime - A Rust runtime for AWS Lambda