bitis 0.10.5

Bitwise serialization of messages defined in a data description language with interfaces for rust, python and c++.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use console::{style, /*Emoji*/};
use std::process::exit;


pub fn print_error(msg: String) -> ! {
    println!("\n{} {}", style("Error:").bold().red(), msg);
    exit(-1);
}
#[allow(dead_code)]
pub fn print_warn(msg: String) {
    println!("\n{} {}", style("Warning:").bold().yellow(), msg);
}