/bits-of-rust

Small Rust programs I make while learning the language.

Primary LanguageRust

# Bits of Rust
This is a repository of small Rust programs I write as I teach myself the language.

I love doing larger projects to sharpen my skills, but sometimes one needs to concentrate on
the fundamentals in smaller, quicker steps.

# List of Programs

| Name | Main Features | Description |
|------|---------------|-----------------|
| cli_args | Command line argument parsing | Parses and prints different things depending on the arguments given on the command line |
| async_simple | Asynchronous execution | Largely taken from the *Async Book*, this demonstrates several async features. |
| tcpprint | TcpListener, TcpStream | Prints everything it receives over TCP, like a very limited `netcat` or `nc` program |

# Future Work
Here are some Bits of Rust I want to write in the future:
- Closures and callbacks
- gRPC and/or protobufs
- Reading JSON from a TCP socket
- Writing JSON to a TCP socket/UDP.
- Passing Rust objects back and forth over a socket with `serde`