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

#940 in Procedural macros

Download history 1296/week @ 2024-01-25 2084/week @ 2024-02-01 2946/week @ 2024-02-08 2645/week @ 2024-02-15 3181/week @ 2024-02-22 3423/week @ 2024-02-29 3957/week @ 2024-03-07 4387/week @ 2024-03-14 4174/week @ 2024-03-21 4377/week @ 2024-03-28 4184/week @ 2024-04-04 4819/week @ 2024-04-11 4747/week @ 2024-04-18 4128/week @ 2024-04-25 4706/week @ 2024-05-02 3642/week @ 2024-05-09

18,143 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
~41K SLoC