progenitor/example-build/src/main.rs

16 lines
349 B
Rust
Raw Normal View History

// Copyright 2021 Oxide Computer Company
// Include the generated code.
include!(concat!(env!("OUT_DIR"), "/codegen.rs"));
fn main() {
let client = Client::new("https://foo/bar");
2023-01-04 19:14:37 +00:00
let _ = client.enrol(
"auth-token",
&types::EnrolBody {
host: "".to_string(),
key: "".to_string(),
},
);
}