In this talk I covered my learnings when trying to solve Advent of Code and building a TCP server in Rust.
To run the echo server:
cd echo_server
cargo run
Test it with telnet:
telnet localhost 8080
Optionally, host the server on a vm and test it against Protohacker's tests
This is just my attempt of AoC Day 1. You can view the rest of my attempts here.
To run a test:
cd aoc_day1
cargo test --bin part1.rs
To run against the entire input:
cargo run --bin part1.rs