15 stable releases

4.4.2 Mar 5, 2025
4.3.0 Dec 18, 2024
4.2.0 Nov 18, 2024
3.4.0 Oct 7, 2024
3.3.0 Mar 21, 2024

#2308 in Procedural macros

Download history 3564/week @ 2024-12-22 5707/week @ 2024-12-29 13583/week @ 2025-01-05 13058/week @ 2025-01-12 13031/week @ 2025-01-19 13173/week @ 2025-01-26 16440/week @ 2025-02-02 14156/week @ 2025-02-09 13889/week @ 2025-02-16 17207/week @ 2025-02-23 18813/week @ 2025-03-02 19744/week @ 2025-03-09 18409/week @ 2025-03-16 22015/week @ 2025-03-23 24756/week @ 2025-03-30 24857/week @ 2025-04-06

90,940 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