12 stable releases

new 4.3.0 Dec 18, 2024
4.2.0 Nov 18, 2024
4.0.0 Oct 14, 2024
4.0.0-rc.1 Sep 13, 2024
3.1.1 Jan 26, 2024

#786 in Procedural macros

Download history 5810/week @ 2024-08-28 6569/week @ 2024-09-04 6846/week @ 2024-09-11 7080/week @ 2024-09-18 7016/week @ 2024-09-25 6793/week @ 2024-10-02 9121/week @ 2024-10-09 8655/week @ 2024-10-16 9845/week @ 2024-10-23 9679/week @ 2024-10-30 10181/week @ 2024-11-06 13409/week @ 2024-11-13 11987/week @ 2024-11-20 10124/week @ 2024-11-27 11844/week @ 2024-12-04 8384/week @ 2024-12-11

44,578 downloads per month
Used in foundations

BSD-3-Clause

98KB
2.5K SLoC

Foundations

banner

Foundations is a modular Rust library, designed to help scale programs for distributed, production-grade systems. It enables engineers to concentrate on the core business logic of their services, rather than the intricacies of production operation setups.

If you need any of those:

  • logging
  • distributed tracing
  • metrics
  • memory profiling and jemalloc allocator
  • security features, such as seccomp-based syscall sandboxing
  • service configuration with documentation
  • CLI helper that takes care of the configuration loading

then Foundations is a tool of choice for you.

Documentation

https://docs.rs/foundations/

Examples

https://github.com/cloudflare/foundations/tree/main/examples

License

BSD-3 licensed. See the LICENSE file for details.

Dependencies

~0.5–1MB
~22K SLoC