6 releases (3 breaking)
0.6.2 | Oct 25, 2024 |
---|---|
0.6.1 | Feb 11, 2024 |
0.5.0 | Aug 29, 2022 |
0.4.0 | Apr 24, 2022 |
0.0.0 |
|
#183 in Template engine
32 downloads per month
Used in moella
580KB
11K
SLoC
Kvarn Extensions
Provides extensions that integrate with Kvarn.
This is a library aiming to assist the main Kvarn lib with various extensions. It will provide a more feature-rich and full experience compared to the bare Kvarn.
Features
- PHP support
- HTTP/2 push support
- Template support
- Several present extensions.
- A reverse-proxy. Example here.
Current state
This will be up-to-date with the main branch of Kvarn.
You can view the most recent docs here.
See the roadmap for future plans of this crate.
lib.rs
:
Kvarn extensions
A supporter-lib for Kvarn to supply extensions to the web server.
Use [new()
] to get started quickly.
An introduction to the Kvarn extension system
On of the many things Kvarn extensions can to is bind to extension declarations and to file extensions.
For example, if you mount the extensions download
, it binds the extension declaration download
.
If you then, in a file inside your public/
directory, add !> download
to the top, the client visiting the url pointing to the file will download it.
Dependencies
~10–22MB
~322K SLoC