6 stable releases

3.3.0 Mar 21, 2024
3.2.2 Feb 15, 2024
3.1.1 Jan 26, 2024
3.0.1 Jan 23, 2024

#921 in Procedural macros

Download history 1616/week @ 2024-01-28 2580/week @ 2024-02-04 3168/week @ 2024-02-11 2584/week @ 2024-02-18 3031/week @ 2024-02-25 3871/week @ 2024-03-03 4172/week @ 2024-03-10 4627/week @ 2024-03-17 3986/week @ 2024-03-24 4132/week @ 2024-03-31 4451/week @ 2024-04-07 4561/week @ 2024-04-14 4502/week @ 2024-04-21 4673/week @ 2024-04-28 4384/week @ 2024-05-05 4434/week @ 2024-05-12

18,055 downloads per month
Used in foundations

BSD-3-Clause

89KB
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

~2MB
~42K SLoC