2 unstable releases
0.2.0 | Dec 31, 2018 |
---|---|
0.1.0 | Oct 12, 2018 |
#9 in #outputting
Used in convey_derive
42KB
971 lines
Convey
Easily Output Your Data for Humans and Machines Alike
This is very much work in progress. You can find a draft of initial ideas here.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
lib.rs
:
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(())
}
Dependencies
~2–10MB
~104K SLoC