app_auth_filters | ||
app_file_filters | ||
reject_filters | ||
.gitignore | ||
LICENSE | ||
README.md |
Webservices (wrap) Filters Library
Rust Libraries Collections for webservices (warp) filters and routes configuration
Part of the following developments:
Includes applications definitions and functions for following areas:
- Authorization access to webservices routes
- Access to file webservices routes
- Reject access to webservices routes
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 Filters 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_filters = { version = "0.1.0", path = "../lib/filters/app_auth_filters" }
To include all libraries:
app_auth_filters = { version = "0.1.0", path = "../lib/filters/app_auth_filters" }
app_file_filters = { version = "0.1.0", path = "../lib/filters/app_file_filters" }
reject_filters = { version = "0.1.0", path = "../lib/filters/reject_filters" }
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_filters
An authorization library based in Casbin Rust library
app_auth_filters ├── Cargo.toml ├── README.md ├── TODO.md └── src └── lib.rs
app_file_filters
Dedicated to load configuration, enviroment settings, profiles, collections, etc.
app_file_filters/ ├── Cargo.toml ├── README.md ├── TODO.md └── src └── lib.rs
reject_filters
Define common applications errors
reject_filters ├── Cargo.toml ├── README.md ├── TODO.md └── src └── lib.rs
Author
License
MIT