Expand description
Easily output stuff for humans and machines alike
Examples
extern crate convey;
fn main() -> Result<(), convey::Error> {
let mut out = convey::new().add_target(convey::human::stdout()?)?;
out.print(convey::components::text("hello world!"))?;
Ok(())
}
Modules
Macros
Shorthand for writing the
render_for_humans
method of the Render
traitShorthand for writing the
render_json
method of the Render
traitQuickly write a span
Structs
Traits
Implement this for your own components
Functions
Create a new output