lib_utils/README.md
2021-09-01 20:10:41 +01:00

1.7 KiB

Utils Library

Rust Libraries Collections Utilities for applications

Part of the following developments:

Includes applications functions for following areas:

  • Files handle in json,yaml,toml
  • RGB colors
  • Run command

Criteria

In a basic application scenario this group or library collections are included together.

Unapdating 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 Defs Library one line like the one below should be included in target development Cargo.toml (adjust version & path) and use whatever is need.

app_tools = { version = "0.1.0", path = "../lib/utils/app_tools" }

To include all libraries:

app_tools = { version = "0.1.0", path = "../lib/utils/app_tools" }
ssh_utils = { version = "0.1.0", path = "../lib/utils/ssh_utils" }

Structure

Each directory contains a Library dedicated to applications common needs: Inside of each directory README.md and TODO.md files has more details.

app_tools

App utilities

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

ssh_utils

SSH utilities

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

Author

License

MIT