stepflow_proto/lib.rs
1// Copyright 2025 DataStax Inc.
2//
3// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
4// in compliance with the License. You may obtain a copy of the License at
5//
6// http://www.apache.org/licenses/LICENSE-2.0
7//
8// Unless required by applicable law or agreed to in writing, software distributed under the License
9// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
10// or implied. See the License for the specific language governing permissions and limitations under
11// the License.
12
13//! Generated protobuf types and gRPC service definitions for the Stepflow v1 protocol.
14//!
15//! This crate compiles all `.proto` files and exports the generated Rust types,
16//! gRPC service traits, and client stubs. Service *implementations* live in
17//! `stepflow-grpc`.
18
19/// Generated protobuf types for the Stepflow v1 protocol.
20pub mod stepflow {
21 pub mod v1 {
22 tonic::include_proto!("stepflow.v1");
23 }
24}
25
26pub mod google {
27 pub mod api {
28 tonic::include_proto!("google.api");
29 }
30}
31
32// Re-export commonly used types at the crate root.
33pub use stepflow::v1::*;
34
35#[cfg(feature = "tokio")]
36pub mod async_io;