| Crates.io | another_pipe_macro |
| lib.rs | another_pipe_macro |
| version | 0.1.2 |
| created_at | 2022-09-12 11:09:44.784563+00 |
| updated_at | 2022-09-12 11:14:39.674442+00 |
| description | Adds a macro for composing functions |
| homepage | |
| repository | https://github.com/thetos7/pipe_macro_rs |
| max_upload_size | |
| id | 663674 |
| size | 3,957 |
This crate provides a pipe macro to easily compose functions together
with a new syntax preventing nested calls which are hard to read and understand.
example usage:
use another_pipe_macro::pipe;
let res = pipe!( "32" => str::parse::<i32> => Result::unwrap);
assert_eq!(res, 32);
No.
It is meant as an exercice in writing macros and publishing to crates.io, and possibly lacks features. If you want a more mature crate, use the pipeline crate.