product-os-router

Crates.ioproduct-os-router
lib.rsproduct-os-router
version0.0.25
sourcesrc
created_at2023-08-20 06:06:31.622974
updated_at2024-06-12 02:13:33.435048
descriptionProduct OS : Router provides a fully featured router leveraging Axum and Tower with a suite of helper methods to make it easier to create an HTTP server, HTTPS server, web socket server and even server-sent events server.
homepage
repository
max_upload_size
id949207
size78,190
Jeremy (eremyjay)

documentation

README

Product OS : Router

Product OS : Router provides a fully featured router leveraging Axum and Tower with a suite of helper methods to make it easier to create an HTTP server, HTTPS server, web socket server and even server-sent events server.

What is Product OS?

Product OS is a collection of packages that provide different tools and features that can work together to build products more easily for the Rust ecosystem.

Installation

Use the Rust crate package manager cargo to install Product OS : Router.

cargo add product-os-router

or add Product OS : Router to your cargo.toml [packages] section.

product-os-router = { version = "0.0.25", features = [], default-features = true, optional = false }

Features

Product OS Router supports a number of features leveraging the existing Rust libraries of Axum and Tower including:

  • Set of endpoint route and fallback helper methods
  • Explicit cors endpoint helper method
  • WebSocket (ws) helper method
  • Server-side Events (sse) helper method
  • Add multiple handlers in one go
  • Add middleware with a bit more ease
  • Define default headers
  • Create services (collections of handlers) more easily
// Feature samples TODO

Usage

// Examples TODO

Contributing

Contributions are not currently available but will be available on a public repository soon.

License

GNU AGPLv3

Commit count: 0

cargo fmt