cargo-zigbuild
aws-sdk-rust
Our great sponsors
cargo-zigbuild | aws-sdk-rust | |
---|---|---|
19 | 33 | |
1,181 | 2,840 | |
5.8% | 2.6% | |
8.6 | 9.7 | |
7 days ago | 4 days ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
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.
cargo-zigbuild
-
Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
https://github.com/rust-cross/cargo-zigbuild
I’m curious what the blockers are for rustc to cross-compile like zig does natively.
- Cargo-zigbuild: Compile Rust using Zig as linker for easier cross compiling
- [Review] Introducing cargo-xwin: A Solution for Cross-Compiling Rust on macOS to MSVC
- Compiling Linux to Mac in CI/CD
- cargo-zigbuild 0.16 added support for (cross-)compiling macOS universal2 binaries/libraries
-
Conditional compilation to avoid cross compilation
Perhaps you can try cargo-zigbuild, it uses zig-cc for cross-compilation instead of creating a container, so it should be much more lightweight on MacOS, without all the cost of virtualization and file sharing.
- Cross-compiling simple Rust code from Mac OS X to Raspberry Pi 4
-
Future of Rust, 2023 and beyond?
I have tried, however I haven't been able to get it to work reliably (e.g. building on windows + linux on WSL works, Mac is a lot more involved; tried building for windows + linux on Mac and I couldn't get it to work at all); I've had some luck using zigbuild but that too doesn't seem to work for Mac.
-
C2Rust Transpiler
Zig also takes this approach, and even exposes its C compiler (which if I recall correctly is basically Clang plus diverse sysroots and other customisation out of the box) as a separate `zig cc`.
I do a lot of work in Rust, and cross-compilation can be a pain when you have a lot of C dependencies. Fortunately https://github.com/messense/cargo-zigbuild exists. It sounds crazy, but using Zig's inbuilt C compiler to help build my Rust projects has been the smoothest option I've found.
I can't help but wonder if it would be worth it for Rust to follow D and Zig by shipping its own inbuilt C compiler, even if they still want to also support external C toolchains. It should be roughly the same effort as it was for Zig, given that they both use LLVM.
-
Short story of Rust being amazing yet again (because it compiles on different architectures effortlessly)
Wait until you start using cargo zig-build. Suddenly it becomes way better than Go's cross compiler because you can seamlessly cross-compile rust AND C (thanks to Zig compiler of course). https://github.com/messense/cargo-zigbuild
aws-sdk-rust
- Boletín AWS Open Source, Christmas Edition
-
My top picks of re:Invent 2023
The AWS SDK for Rust contains one crate for each AWS service - you can check them out here.
- AWS SDK Crates reach 1.0 🎉
-
General Availability of the AWS SDK for Rust
> What kind of plans for support of Rust's evolving async ecosystem?
We were hoping async-function-in-trait would land before GA, however, we have a plan to add support in a backwards compatible way when it's released.
> Any particular reason why the public roadmap does not show the columns similar to "Researching", "We're Working On It" like the other similar public AWS Roadmaps?
Our roadmap has unfortunately been in a state of disrepair for some time. We're hoping to get it cleaned up and accurate post GA.
> Would be nice to have fully working examples on Github, for most common scenarios across most AWS services. This is something that historically AWS SDKs have been inconsistent on. Just a request not really a question :-)
There are lots of examples here [1], some simple, some quite complex. If there's something you have in mind, please file an issue! Having great examples is one of our priorities.
[1]: https://github.com/awslabs/aws-sdk-rust/tree/main/examples
-
Proper way to do thousands of asynchronous http requests
There’s a pretty nice example of this in the aws rust sdk here.
-
[Q] How mature is the AWS Rust ecosystem?
The official AWS Rust SDK still seems to be a work in progress(developer preview) with a warning to not use it in production.
-
Hey Rustaceans! Got a question? Ask here (16/2023)!
i'm using https://github.com/awslabs/aws-sdk-rust heavily and was wondering if there was a more specific community (subreddit, Discord server, etc) of Rust x AWS developers?
-
"thread 'main' panicked at 'no CA certificates found'", when running application in docker container
Only relevant search result was this github issue, which didn't really solve the problem.
-
S3 Proxy Server
I went on rusoto just because aws-sdk-rust says at the beginning of the readme:
-
[Media] Dear Google, When Rust? Sincerely, Internet
Official libraries for major cloud vendors will definitely boost Rust's adoption. aws-sdk-rust is still in 'developer preview', but it's getting there.
What are some alternatives?
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
cloudscraper - A Python module to bypass Cloudflare's anti-bot page.
rust.aws-cdk-lambda - A CDK (v2) Construct Library for AWS Lambda in Rust
vouch-proxy - an SSO and OAuth / OIDC login solution for Nginx using the auth_request module
aws-lambda-rust-runtime - A Rust runtime for AWS Lambda
serverless-rust-demo - Sample serverless application written in Rust
sea-query - 🔱 A dynamic SQL query builder for MySQL, Postgres and SQLite
terminal-typeracer
polars - Dataframes powered by a multithreaded, vectorized query engine, written in Rust
doom - DOOM translated from C to V.
Replibyte - Seed your development database with real data ⚡️