[](https://crates.io/crates/replit-protocol-rs) [](https://docs.rs/replit-protocol-rs) 
The unofficial [repl.it] container protocol for Rust.
The container protocol is what [repl.it] uses for communication with it's
repl containers. This uses the `api.proto` file which can be found on the
[protocol] github repo to generate Rust using [prost] (which implements
[protobuf]).
All files in the generated `api.rs` file are available from the root of this
crate.
## Building
When building this crate with `cargo build`, it's required taht the `OUT_DIR`
enviornment variable to `src/`. This way the crate can properly include the
`api.rs` file which is created from the `api.proto` file by [prost-build].
[repl.it]: https://repl.it
[protocol]: https://github.com/replit/protocol
[prost]: https://crates.io/crates/prost
[prost-build]: https://crates.io/crates/prost-build
[protobuf]: https://developers.google.com/protocol-buffers