clientix-codegen 0.2.0

Library for building HTTP clients and requests declaratively with procedural macros - no need to write complex imperative or functional logic.
Documentation
1
2
3
4
5
6
7
pub fn throw_error(message: &str, dry_run: bool) {
    if dry_run {
        panic!("{}", message);
    } else {
        eprintln!("{}", message);
    }
}