Added a readme

This commit is contained in:
Martin Slot 2023-11-28 13:14:51 +01:00
parent e3953c7a4f
commit 1b2fbd6822
2 changed files with 12 additions and 1 deletions

11
readme.md Normal file
View File

@ -0,0 +1,11 @@
# Commander
This is a small request/response server written in `rust` that talks a `HTTP`-like protocol based on `protobuf`.
# Production
Please never use this in production :)
# StreamReader
I am experimenting a lot with a buffered reader, that i think is pretty slow, and pretty non-rustic in it's implementation: still, i like to have fun with it.
# Examples
For examples on how to use it, see the tests under `tests/`.

View File

@ -336,8 +336,8 @@ fn can_add_one_action_and_start_and_call_it_with_sub_message() {
let received_person = Person::decode(Cursor::new(&received_data));
let received_person = received_person.unwrap();
assert_eq!("test", received_person.name);
assert_eq!("test", received_person.name);
assert_eq!(666, received_person.age);
println!("calling stop");