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

#161 in Development tools

Download history 10817/week @ 2024-11-20 9221/week @ 2024-11-27 10735/week @ 2024-12-04 10800/week @ 2024-12-11 8644/week @ 2024-12-18 3654/week @ 2024-12-25 9417/week @ 2025-01-01 12550/week @ 2025-01-08 12383/week @ 2025-01-15 14266/week @ 2025-01-22 13440/week @ 2025-01-29 16256/week @ 2025-02-05 11659/week @ 2025-02-12 15924/week @ 2025-02-19 16652/week @ 2025-02-26 17479/week @ 2025-03-05

64,506 downloads per month
Used in tokio-quiche

BSD-3-Clause

1MB
26K SLoC

C 17K SLoC // 0.2% comments Rust 6K SLoC // 0.0% comments Python 1.5K SLoC // 0.5% comments Cython 593 SLoC // 0.5% comments Automake 380 SLoC // 0.2% comments M4 114 SLoC // 0.5% comments Shell 33 SLoC // 0.7% comments

Contains (obscure autoconf code, 5KB) src/security/libseccomp/configure.ac

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

~2–19MB
~291K SLoC