supplier_kit 0.1.0

A modular toolkit for managing and grouping dynamic data suppliers.
Documentation
1
2
3
4
5
6
7
8
9
/// A helper function to register multiple suppliers at once in the `SupplierRegistry`.
#[macro_export]
macro_rules! register_suppliers {
    ($registry:expr, $( $name:expr => $supplier:expr ),+ $(,)?) => {
        $(
            $registry.register($name, $supplier);
        )+
    };
}