Added a readme
This commit is contained in:
parent
e3953c7a4f
commit
1b2fbd6822
|
@ -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/`.
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue