Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/est31/balloc
Bounded allocation for Rust
https://github.com/est31/balloc
Last synced: 24 days ago
JSON representation
Bounded allocation for Rust
- Host: GitHub
- URL: https://github.com/est31/balloc
- Owner: est31
- License: other
- Created: 2019-03-04T02:13:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-03-10T06:33:00.000Z (over 5 years ago)
- Last Synced: 2024-05-18T00:03:21.509Z (6 months ago)
- Language: Rust
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# balloc
**Bounded allocation for Rust.**
[docs.rs](https://docs.rs/balloc)
This crate provides a wrapper over `Vec` so that boundedness constraints can be enforced.
Such constraints are useful when dealing with untrusted input where the other party
sends you a zip bomb or similar. Either, you rely on operating system facilities to
handle your program when it crashes, or you use balloc with reasonable bounds to
prevent the OS having to get involved in the first place.The crate is designed to use language features to make doing the checks wrongly
as hard as possible.Right now, this crate only provides `Vec` wrappers.
At a later point in time, wrappers for other data structures of std fame might be added.## License
Licensed under Apache 2 or MIT (at your option). For details, see the [LICENSE](LICENSE) file.
### License of your contributions
Unless you explicitly state otherwise, any contribution intentionally submitted for
inclusion in the work by you, as defined in the Apache-2.0 license,
shall be dual licensed as above, without any additional terms or conditions.