NFHTTP
crux
NFHTTP | crux | |
---|---|---|
4 | 7 | |
573 | 1,459 | |
0.5% | 7.1% | |
0.0 | 9.5 | |
12 months ago | 4 days ago | |
C | Rust | |
Apache License 2.0 | 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.
NFHTTP
-
Crux: Cross-platform app development in Rust
This is your friendly reminder that Spotify went out of their way to write a networking library that wraps platform specific network libraries since iOS will have special-ish behaviors that you lose if you aren’t using their stack.
I am the biggest proponent of Rust where possible but I always feel like this is worth mentioning when people bring up moving all shared logic for mobile platforms to Rust. It would be great to see it reqwest/ureq/etc could have a feature flag to use these behind the scenes:
https://github.com/nativeformat/NFHTTP
Also: if anybody from Spotify is reading I would love to know why it’s discontinued and passed to community maintenance. Alternatively, if someone from e.g Apple would weigh in on how much this still matters it would also be welcome.
-
Building cross-platform Rust for Web, Android and iOS – a minimal example
It _has_ been figured out, it's just not something anyone's done in Rust yet: https://github.com/nativeformat/NFHTTP
-
Native OS SSL wrapper?
Found a client library: https://github.com/spotify/NFHTTP
-
Up-to-date info about building for iOS/Android?
Spotify indeed goes out of their way to use the native handlers, so... there's some prior art.
crux
-
Tauri 2.0 tries to make mobile apps crossplatform
Another (also Rust-based) cross-platform mobile app dev kit is crux [1]. I've never used it, but the core idea of "true native UIs with a shared business logic core via IPC" seems like the sweet spot to my mostly untrained sensibilities.
[1] https://redbadger.github.io/crux/
-
Show HN: Rem: Remember Everything (open source)
Jason - great work here. Your Swift code looks like mine :) on this, some folks in the UK have created Crux - an interesting abstraction layer for mobile apps using Rust. Might provide some ideas for optimisation/ipc. https://github.com/redbadger/crux
- Crux: Cross-platform app development in Rust
- Redbadger/crux: Cross-platform app development in Rust
-
Rustling Up Cross-Platform Development
Recently, I stumbled upon a project at the Rust London conference that caught my eye. It's called Crux, and it's a library that helps you implement a functional core and imperative shell paradigm. In other words, it allows you to separate your app logic from your UI code, and share it between platforms.
What are some alternatives?
bloom-legacy-e2ee - End-to-end encrypted Notes, Files, Calendar, Contacts... for Android, IOS, Linux & MacOS
rust - Empowering everyone to build reliable and efficient software.
ui - Rikulo UI is a cross-platform framework for creating amazing Web and mobile applications in Dart and HTML 5.
cargo-swift - A cargo plugin to easily build Swift packages from Rust code
matrix-rich-text-editor - Matrix Rich Text Editor
Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
matrix-rust-sdk - Matrix Client-Server SDK for Rust
Rocket - A web framework for Rust.
png-db - Database for PNG images