progenitor_client/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2022 Oxide Computer Company

//! Support for generated clients.

#![deny(missing_docs)]

mod progenitor_client;

pub use crate::progenitor_client::*;

// For stand-alone crates, rather than adding a dependency on
// progenitor-client, we simply dump the code right in. This means we don't
// need to determine the provenance of progenitor (crates.io, github, etc.)
// when generating the stand-alone crate.
#[doc(hidden)]
pub fn code() -> &'static str {
    include_str!("progenitor_client.rs")
}