fix(lib.rs): expose Middleware trait

Fixes #44