mirror of
https://github.com/AThilenius/axum-connect.git
synced 2024-11-24 15:19:00 +00:00
7 lines
256 B
Rust
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();
|
|
}
|