app_auth_handlers | ||
app_file_handlers | ||
reqenv | ||
reqtasks | ||
.gitignore | ||
LICENSE | ||
README.md |
Webservices (wrap) Handlers Library
Rust Libraries Collections for webservices (warp) handlers
Part of the following developments:
Includes applications definitions and functions for following areas:
- App auth handlers library: login, admin, member.
- Files Upload.
- Web Request enviroment definition and functions.
- Authentication
- Render templates and pages
- Lang definitions
Criteria
In a basic application scenario this group or library collections are included together.
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 Handlers 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_handlers = { version = "0.1.0", path = "../lib/handlers/app_auth_handlers" }
To include all libraries:
app_auth_handlers = { version = "0.1.0", path = "../lib/handlers/app_auth_handlers" }
app_file_filters = { version = "0.1.0", path = "../lib/filters/app_file_filters" }
app_file_handlers = { version = "0.1.0", path = "../lib/handlers/app_file_handlers" }
reqtasks = { version = "0.1.0", path = "../lib/handlers/reqtasks" }
reqenv = { version = "0.1.0", path = "../lib/handlers/reqenv" }
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_auth_handlers
App auth handlers library
Handlers for request for auth management using warp
app_auth_handlers ├── Cargo.toml ├── README.md ├── TODO.md └── src └── lib.rs
app_file_handlers
Files uploads.
app_file_handlers/ ├── Cargo.toml ├── README.md ├── TODO.md └── src └── lib.rs
reqenv
Web Request enviroment definition and functions
reqenv ├── Cargo.toml ├── README.md ├── TODO.md └── src └── lib.rs
reqtasks
Handlers for:
- Authentication
- Access: admin, session token.
- Render tamplates and pages
- Lang definitions
reqtasks ├── Cargo.toml ├── README.md ├── TODO.md └── src └── lib.rs
Author
License
MIT