Updated readme

This commit is contained in:
Martin Slot 2023-12-19 08:11:45 +01:00
parent 6570d5daf7
commit b552b5760b
3 changed files with 14 additions and 3 deletions

View File

@ -15,4 +15,8 @@ commander_host = { path = "../commander_host" }
[[example]]
name = "simple_host"
path = "simple_host/main.rs"
path = "simple_host/main.rs"
[[example]]
name = "simple_client"
path = "simple_client/main.rs"

View File

@ -0,0 +1,5 @@
use prost::Message;
use std::io::Cursor;
include!(concat!(env!("OUT_DIR"), "/simple_message.rs"));
fn main() {}

View File

@ -8,7 +8,9 @@ Please never use this in production :)
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/`.
For examples on how to use it, see:
1. the tests under `tests/`
2. the `simple_host` and `simple_client` under `examples/`
### Nextgen
I am currently looking into making client certification authentification, for some "simple" authentication for the server.
I am currently looking into using the rsa crate: `rsa = { version = "0.9", features = ["sha2", "pem"] }` for simple encryption/decrypting and message signing. More on this later.