882 B
882 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
If you want to trace this simple
example with the tokio-console
utility, run:
$ RUSTFLAGS="tokio_unstable" cargo run --example simple --features "tokio/tracing"
$ python scripts/test_imap.py
Notes
- The library use the
tracing
library for logging, a basic setup is shown in thesimple
example with thetracing-subscriber
crate.
References
imap-codec
: IMAP protocol model+encoder/decodertower
: Service-based request handling library