map-to-const
Easily convert HashMap<K, V> to constant [(K, V); N] values.
This crate works with Cargo with a Cargo.toml like:
[]
= "0.1.0"
Getting started
Add some usage to your application.
Here's an example of using map-to-const in code:
use *;
use HashMap;
Examples
You can check out sample usage of this crate in the examples/ folder in the project repo on GitHub.
Contributing
Contributions are welcome! Open a pull request to fix a bug, or open an issue to discuss a new feature or change.
Check out the Contributing section in the docs for more info.
License
This project is proudly licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT).
map-to-const can be distributed according to the MIT license. Contributions
will be accepted under the same license.