Commit graph

18 commits

Author SHA1 Message Date
Britton Robitzsch
d46ce8c23a
feat: Add support for Submillisecond web framework ()
* feat: Add support for Submillisecond web framework

Adds support for Submillisecond, a Lunatic web framework

* fix: Add submillisecond as doctest feature flag

- adds submillisecond as a feature flag for maud for doctests

* fix: Update formatting for submillisecond

- fix formatting to match rustfmt for submillisecond_support

* Add missing line break

---------

Co-authored-by: Chris Wong <lambda.fairy@gmail.com>
2024-06-16 11:44:17 +00:00
thatguydoru
320add87a1
Warp Integration: Yet another web framework support ()
* Add warp integration.

* Add warp to docs

* Update changelog

* Please the mighty rustfmt \o/

* Enable warp feature in doctest

---------

Co-authored-by: Chris Wong <lambda.fairy@gmail.com>
2024-01-04 15:39:21 +11:00
Paul Jones
0de60b0c86
Update rocket support to v0.5 ()
* update rocket support to v0.5

* added rocket upgrade to CHANGELOG.md

* fix documentation code for rocket v0.5

---------

Co-authored-by: Chris Wong <lambda.fairy@gmail.com>
2023-12-30 09:10:30 +00:00
Vidhan Bhatt
d3b871189f
Support axum v0.7 through axum-core v0.4 and http v1 ()
* chore: bump `axum-core` for use with new `axum` 0.7 release

* chore: bump doctest axum too

* chore: update changelog

* chore: fix changelog

* fix: doctest

* fix: import right resp type

* fix: bump http as well

* fix: doctest

* Update CHANGELOG.md
2023-12-30 22:06:47 +13:00
Daniel Oliveira
7233cda35e
Add axum to the list of frameworks in docs () 2023-04-04 22:51:57 +10:00
Chris Wong
4f14db7415
Switch documentation to one-sentence-per-line () 2023-02-12 11:19:56 +00:00
David Pedersen
6e3222f57a
Update to axum-core 0.1 ()
* Update to axum-core 0.1

Together with the new 0.4 release of `axum` we made a new crate called
[`axum-core`]. `axum-core` has a small API and is less likely to receive
breaking changes. Therefore its recommended for libraries to depend on
`axum-core` instead of `axum`.

So this updates `maud` to use `axum-core`.

Note this is a breaking change since `axum-core` requires `axum` 0.4.

[`axum-core`]: https://crates.io/crates/axum-core

* Update changelog link

* fix test
2021-12-08 19:12:00 +11:00
Chris Wong
ca860d09bd
Add a style guide for the docs () 2021-11-29 11:06:56 +00:00
Chris Wong
434af86ae7
Remove Iron support ()
The Iron framework hasn't been updated in a long time. It still uses outdated versions of libraries like futures 0.1, hyper 0.12, url 1.7. We can clean up the repo by removing it. This will also slightly speed up CI.
2021-11-06 11:44:10 +00:00
David Pedersen
4374979a4f
Update to support axum 0.2 ()
* Update to support axum 0.2

* Update changelog
2021-10-16 14:14:27 +11:00
Marcel Müller
cc62bcbb86
Add axum support ()
Co-authored-by: Chris Wong <lambda.fairy@gmail.com>
2021-08-17 19:25:07 +10:00
Max Countryman
ba9c7b523c
Tide support ()
This introduces support for Tide by implementing `From` over markup.
Unlike other frameworks, Tide does not seem to provide e.g. a trait
which could instead be implemented. However as demonstrated, this
alternative results in a simple, ergonomic interface.

Consumers may leverage Tide support by using the "tide" feature.

Co-authored-by: Chris Wong <lambda.fairy@gmail.com>
2021-08-06 14:22:05 +10:00
Chris Wong
75b6801f47
Switch documentation to semantic line breaks ()
mdformat will preserve semantic line breaks, so we may as well commit to
using them.

cc 
2021-01-22 19:31:51 +13:00
Chris Wong
eaf552d417
Test documentation examples in CI ()
Closes 

Closes 
2021-01-15 17:40:46 +13:00
Chris Wong
b670d85595
Update documentation to account for stable support ()
* Remove `#![feature(proc_macro_hygiene)]` from documentation

Closes 

* Update comment about nightly vs stable
2020-10-08 11:02:19 +13:00
kstrohbeck
680607dfae Update actix-web support documentation. () 2019-06-29 12:29:04 +12:00
Chris Wong
07ca29aa55 Rust 2018 the web framework examples 2019-03-16 19:53:24 +13:00
Chris Wong
00a38a32b3 Add files from existing book 2019-03-16 16:29:31 +13:00