SO I built a chat application that let's you talk in specific rooms in terminal itself
The idea is to make it easier to create room and talk in that room, without having to go to any external app
Here's the code:
SO I built a chat application that let's you talk in specific rooms in terminal itself
The idea is to make it easier to create room and talk in that room, without having to go to any external app
Here's the code:
Hi there,
Below my comments.
(note: I am relative new to Rust and this is my first review on this forum. So double check and veriify/expiriment !
)
Result::unwrap() on an Err value: ServerError("Couldn't return") . You can use a match (or if let) statement to deal with the error case ( for more detail see: handling the Result type)Checkout Idiomatic Rust , gives a lot of usefull information
To add to the other response, I think egui is a pretty good example of a multi-crate project using Clippy, a workspace (with a bunch of workspace-level lint settings and dependency versions), and a crates folder for all the crates in the project. At least, the structure of egui (and another codebase, I forget which) is what I based my first few multi-crate projects on.