I’ve been tinkering with tokio for some time now and have written first steps to a client API for EventStore as yet-unpublished crate eventstore-tcp. It is currently unpublished because I need a custom version of tokio-proto with my pull request. While unpublished to crates.io, it is somewhat usable if you don’t mind the custom dependency.
eventstore-tcp uses quick_protobuf for en/decoding the payloads.
eventstore-tcp you can connect to a server, write events and read them back in a few ways. There are a number of unsupported features if you are interested in joining in. Under
examples/testclient you will find an aspiring command line interface built on top of the library, mainly for testing the client itself against the real server.
If you read this far and are interested in the subject, I’d like to welcome any and all comments on the code, future API ideas and such.