11 stable releases

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

#787 in Procedural macros

Download history 8450/week @ 2024-07-29 5911/week @ 2024-08-05 5836/week @ 2024-08-12 5139/week @ 2024-08-19 6548/week @ 2024-08-26 5877/week @ 2024-09-02 6383/week @ 2024-09-09 6595/week @ 2024-09-16 7283/week @ 2024-09-23 7195/week @ 2024-09-30 7632/week @ 2024-10-07 9419/week @ 2024-10-14 9254/week @ 2024-10-21 9474/week @ 2024-10-28 10223/week @ 2024-11-04 12603/week @ 2024-11-11

41,810 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.6–1MB
~23K SLoC