Gemini protocol client and server implementation written in Rust with Tokio https://crates.io/crates/tokio-gemini
Find a file
DarkCat09 39c31d9651
important fix for buffered stream + code cleanup
a `TlsStream<TcpStream>` was being wrapped in a `BufReader` during header parsing,
but then the pure stream (without BufReader) was being passed into a Response constructor,
discarding all content in an internal BufReader's buffer,
resulting in an incomplete body (truncated at the beginning)
or empty at all
2024-08-06 18:33:11 +04:00
examples add simple.rs example 2024-08-06 12:32:42 +04:00
src important fix for buffered stream + code cleanup 2024-08-06 18:33:11 +04:00
.gitignore update main example: proper ss cert check, changes in lib API 2024-08-06 11:57:42 +04:00
Cargo.lock update main example: proper ss cert check, changes in lib API 2024-08-06 11:57:42 +04:00
Cargo.toml add simple.rs example 2024-08-06 12:32:42 +04:00
LICENSE docs: license 2024-07-31 17:00:04 +04:00
README.md docs: add WIP-message and "todo" 2024-08-05 16:27:55 +04:00

tokio-gemini

Gemini protocol client and server implementation written in Rust with Tokio.
// Work in progress

TODO

  • Implement client (2b6150a8e5)
  • Add tests for parser
  • Write docs
  • Allow configuring proper self-signed certs check (19e1148989) + example (soon)
  • Implement server