15 stable releases

new 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

#815 in Procedural macros

Download history 12016/week @ 2024-11-18 10671/week @ 2024-11-25 11153/week @ 2024-12-02 11327/week @ 2024-12-09 12839/week @ 2024-12-16 3597/week @ 2024-12-23 5844/week @ 2024-12-30 13594/week @ 2025-01-06 13203/week @ 2025-01-13 12885/week @ 2025-01-20 13142/week @ 2025-01-27 16622/week @ 2025-02-03 13972/week @ 2025-02-10 14042/week @ 2025-02-17 17240/week @ 2025-02-24 18880/week @ 2025-03-03

64,550 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