lib_macros/README.md

64 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2021-09-01 18:41:09 +00:00
# Macros Library
## Rust Macros Libraries for **applications**
Part of the following developments:
- [CloudMandala](https://rlung.librecloud.online/LibreCloud/CloudMandala#cloudmandala)
- [Zteron](https://rlung.librecloud.online/LibreCloud/CloudMandala#cloudmandala)
Includes applications definitions and functions for following areas:
- Data from json or yaml or toml files
### Criteria
In a basic application scenario this group or library collections are included together.
**app_env** is <u>used</u> even inside other libraries.
Updating packages or dependencies shoud be keep in sync among <u>Cargo.toml</u> declarations.
### How to use
1 - Clone or download this lib in a path, better outside of target development
2 - Get current version from <u>Cargo.toml</u>
3 - <u>For each member of</u> of **Macros Library** one line like the one below should be included in <u>target development Cargo.toml</u> (adjust version & path) and **use** whatever is need.
```toml
2021-09-01 18:47:30 +00:00
kloud_entries_macro_derive = { path = "../lib/macros/kloud_entries_macro_derive" }
2021-09-01 18:41:09 +00:00
```
To include all libraries:
```toml
2021-09-01 18:47:30 +00:00
kloud_entries_macro_derive = { path = "../lib/macros/kloud_entries_macro_derive" }
2021-09-01 18:41:09 +00:00
```
### Structure
Each directory contains a Library dedicated to applications common needs:
Inside of each directory README.md and TODO.md files has more details.
#### kloud_entries_macro_derive
Macro for kloud storage entries from json or yaml or toml files
<pre>
kloud_entries_macro_derive/
├── Cargo.toml
├── README.md
├── TODO.md
└── src
└── lib.rs
</pre>
## Author
- [Jesús Pérez](https://info.jesusperez.pro).
## License
MIT