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

#131 in Configuration

Download history 5516/week @ 2024-12-29 13387/week @ 2025-01-05 12895/week @ 2025-01-12 12812/week @ 2025-01-19 12976/week @ 2025-01-26 16274/week @ 2025-02-02 13813/week @ 2025-02-09 13638/week @ 2025-02-16 16939/week @ 2025-02-23 18809/week @ 2025-03-02 19701/week @ 2025-03-09 18507/week @ 2025-03-16 22058/week @ 2025-03-23 24789/week @ 2025-03-30 25586/week @ 2025-04-06 22057/week @ 2025-04-13

95,396 downloads per month
Used in 2 crates (via 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
~280K SLoC