boitalettres/doc/draft.md

639 B

Just Enough Doc

Run simple example

This example is meant to show basic service-based IMAP server with boitalettres library.

$ cargo run --example simple
$ python scripts/test_imap.py

Notes

  • The library use the tracing library for logging, a basic setup is shown in the simple example with the tracing-subscriber crate.

References

  • imap-codec: IMAP protocol model+encoder/decoder
  • tower: Service-based request handling library