#hal #http #http-response #http-api #api-response #halforms

http_halforms

Support for HAL and HAL-FORMS responses in HTTP APIs

2 unstable releases

0.2.0 Nov 30, 2023
0.1.0 Dec 24, 2022

#1166 in HTTP server

Download history 1/week @ 2024-06-17 13/week @ 2024-06-24 6/week @ 2024-07-01 18/week @ 2024-07-29 24/week @ 2024-09-09 6/week @ 2024-09-16 16/week @ 2024-09-23 8/week @ 2024-09-30

54 downloads per month

MIT license

59KB
2K SLoC

HAL Forms

Build status Crates.io Documentation

Supported HTTP Servers

Currently this is only supported with the following HTTP Servers:

Features

HTTP Server support is behind feature flags for the appropriate HTTP Server. As such, you will need to enable the correct feature for the HTTP Server that you are using.

Currently supported features are:

  • axum - For the Axum HTTP Server.

Safety

This crate uses #![forbid(unsafe_code)] to ensure everything is implemented in 100% safe Rust.

Minimum supported Rust version

The MSRV for http_halforms is 1.60.0. However, the HTTP Servers that are used with it might need a higher version.

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in http_halforms by you, shall be licensed as MIT, without any additional terms or conditions.

Dependencies

~2–9MB
~86K SLoC