#hal #http-api #http #http-response #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

#622 in HTTP server

42 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.8–5MB
~100K SLoC