12 stable releases

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

#804 in Procedural macros

Download history 10159/week @ 2024-10-25 9615/week @ 2024-11-01 11995/week @ 2024-11-08 12942/week @ 2024-11-15 11018/week @ 2024-11-22 10725/week @ 2024-11-29 11410/week @ 2024-12-06 12678/week @ 2024-12-13 4363/week @ 2024-12-20 5056/week @ 2024-12-27 12968/week @ 2025-01-03 12572/week @ 2025-01-10 13427/week @ 2025-01-17 13848/week @ 2025-01-24 14790/week @ 2025-01-31 15444/week @ 2025-02-07

60,404 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