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

#784 in Procedural macros

Download history 7310/week @ 2024-09-21 7020/week @ 2024-09-28 7607/week @ 2024-10-05 9216/week @ 2024-10-12 9144/week @ 2024-10-19 9659/week @ 2024-10-26 10293/week @ 2024-11-02 12392/week @ 2024-11-09 12230/week @ 2024-11-16 10612/week @ 2024-11-23 11243/week @ 2024-11-30 11183/week @ 2024-12-07 12943/week @ 2024-12-14 3457/week @ 2024-12-21 5670/week @ 2024-12-28 11323/week @ 2025-01-04

35,089 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