body-image

Crates.iobody-image
lib.rsbody-image
version2.2.3
sourcesrc
created_at2018-04-17 17:01:10.800778
updated_at2021-10-28 22:17:39.299951
descriptionAdaptive RAM/file-backed HTTP bodies.
homepage
repositoryhttps://github.com/dekellum/body-image
max_upload_size
id61100
size66,732
David Kellum (dekellum)

documentation

README

body-image

Rustdoc Change Log Crates.io CI Status

The body-image crate provides a uniform access strategy for HTTP body payloads which may be scattered across multiple allocations in RAM, or buffered to a temporary file, and optionally memory mapped. This effectively enables trading some file I/O cost in return for supporting significantly larger bodies without risk of exhausting RAM.

See the top-level (project workspace) README for additional rationale.

Minimum supported rust version

MSRV := 1.39.0

The crate will fail fast on any lower rustc (via a build.rs version check) and is also CI tested on this version.

License

This project is dual licensed under either of following:

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in body-image by you, as defined by the Apache License, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 1382

cargo fmt