lib_macros/README.md
2021-09-01 19:41:09 +01:00

1.8 KiB

Macros Library

Rust Macros Libraries for applications

Part of the following developments:

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 used even inside other libraries.

Updating packages or dependencies shoud be keep in sync among Cargo.toml declarations.

How to use

1 - Clone or download this lib in a path, better outside of target development

2 - Get current version from Cargo.toml

3 - For each member of of Macros Library one line like the one below should be included in target development Cargo.toml (adjust version & path) and use whatever is need.

app_auth = { version = "0.1.0", path = "../lib/defs/app_auth" }

To include all libraries:

app_auth = { version = "0.1.0", path = "../lib/defs/app_auth" }
app_env = { version = "0.1.0", path = "../lib/defs/app_env" }
app_errors = { version = "0.1.0", path = "../lib/defs/app_errors" }
app_file = { version = "0.1.0", path = "../lib/defs/app_file" }
kloud = { version = "0.1.0", path = "../lib/defs/kloud" }

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

kloud_entries_macro_derive/
├── Cargo.toml
├── README.md
├── TODO.md
└── src
    └── lib.rs

Author

License

MIT