smoltcp
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.
smoltcp
- LwIP – Lightweight IP Stack
-
Implementing TCP in Rust
There is also the Rust TCP/IP stack https://github.com/smoltcp-rs/smoltcp which is not mentioned as reference (and it's probably more useful to have a look there than querying ChatGPT).
- RFC2217 implementation written in Rust
-
Create TCP connection with Pnet
Trying to dig out a link for you, will edit when I find it; TCP and Layer 4 raw sockets do not play nicely together on many platforms. You’ll probably have to send at the datalink layer and/or use something like https://github.com/smoltcp-rs/smoltcp
-
Introduction to TCP and Sockets
This seems close to what you're asking for: https://github.com/smoltcp-rs/smoltcp
A small-ish tcp/ip stack, in rust.
- smoltcp is a standalone, event-driven TCP/IP stack that is designed for bare-metal, real-time systems. Its design goals are simplicity and robustness.
-
Rust embedded and networking
You can look into smoltcp
-
What are some low level networking libraries that y'all recommend?
smoltcp
-
Kerla: Monolithic kernel in Rust, aiming for Linux ABI compatibility
This here is a kernel including a memory-safe TCP/IP stack (https://github.com/smoltcp-rs/smoltcp/), and not having it crash or be full of security vulnerabilities due to preventable memory corruption is a quality beyond personal language preferences.
-
Let's suppose for a minute that I've COMPLETELY lost my mind
Oh, and you also probably want to check out smoltcp, a userspace/"no operating system required" networking stack that we often use in embedded rust.
mosys
What are some alternatives?
tock - A secure embedded operating system for microcontrollers
headcrab - A modern Rust debugging library 🦀
embassy - Modern embedded framework, using Rust and async.
kerla-demo - ssh://demo.kerla.dev
rust-raspberrypi-OS-tutorials - :books: Learn to write an embedded OS in Rust :crab:
Rocket - A web framework for Rust.
OpenSK - OpenSK is an open-source implementation for security keys written in Rust that supports both FIDO U2F and FIDO2 standards.
buildroot - Buildroot, making embedded Linux easy. Note that this is not the official repository, but only a mirror. The official Git repository is at https://gitlab.com/buildroot.org/buildroot/. Do not open issues or file pull requests here.
Rust-for-Linux - Adding support for the Rust language to the Linux kernel.
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper