s2-api 0.3.0

API types for S2, the durable streams API
Documentation
1
2
3
4
5
6
7
8
9
10
fn main() -> Result<(), Box<dyn std::error::Error>> {
    #[cfg(feature = "codegen")]
    {
        prost_build::Config::new()
            .bytes(["."])
            .out_dir("src/v1/stream/proto")
            .compile_protos(&["specs/s2/v1/s2.proto"], &["specs/s2/v1"])?;
    }
    Ok(())
}