crucible-wire 0.10.0

What a crucible server and client share about the wire: operation descriptions, the error model, validation, timestamps and the JSON readers and writers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// Generated once from the External audience of the lowered IR.
#[derive(Debug)]
pub struct ToolDescriptor {
    pub name: &'static str,
    pub operation: &'static str,
    pub description: &'static str,
    pub input_schema: &'static str,
    pub output_schema: Option<&'static str>,
    pub read_only: bool,
    pub idempotent: bool,
    pub destructive: bool,
    /// Only errors surviving External audience projection may be disclosed.
    pub errors: &'static [super::ToolError],
}