2021-10-17 17:40:22 +00:00
|
|
|
// 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(),
|
|
|
|
},
|
|
|
|
);
|
2021-10-17 17:40:22 +00:00
|
|
|
}
|