This crate provides a collection of macros to make some tasks easier to use on Rust ecosystem.
BTreeMap
from a list of key-value pairsBTreeSet
from a list of elementsHashMap
collection comprehensions¹HashSet
collection comprehensions¹Vec
collection comprehensions¹Duration
object following a time pattern²HashMap
from a list of key-value pairsHashSet
from a list of elementstime: Print out the time it took to execute a given expression in seconds
The comprehension macros supports a haskell-like as well as python-like writing syntax and have the limitation of not supporting nesting
This software is licensed under the MIT Public License.