rstml-component-axum: Integration with rstml-component for Axum
rstml-component-axum
is a crate designed to streamline the usage of rstml-component
within Axum projects. This crate provides glue code and helpers to make it easier to create dynamic HTML content using rstml-component
within your Axum applications.
Features
-
Simplified Integration: Seamlessly integrate
rstml-component
into your Axum handlers for efficient HTML generation. -
Optimized for Axum: Enjoy the benefits of both
rstml-component
and Axum for building high-performance server applications.
Installation
To use rstml-component-axum
in your Axum project, add it as a dependency in your Cargo.toml
:
[]
= "0.1.0"
Usage
Here's a basic example demonstrating how to use rstml-component-axum
to integrate rstml-component
with an Axum handler:
use ;
use ;
use HtmlContentAxiosExt;
use SocketAddr;
// Your Axum handler
async
async
For a more detailed walkthrough and additional examples, refer to the documentation for rstml-component-axum
.
License
This project is licensed under the MIT License.