axum-connect/axum-connect-examples/build.rs
2023-05-02 10:03:11 -07:00

7 lines
256 B
Rust

use axum_connect_build::{axum_connect_codegen, AxumConnectGenSettings};
fn main() {
let settings = AxumConnectGenSettings::from_directory_recursive("proto")
.expect("failed to glob proto files");
axum_connect_codegen(settings).unwrap();
}