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 10441/week @ 2024-12-06 12021/week @ 2024-12-13 4145/week @ 2024-12-20 4866/week @ 2024-12-27 12785/week @ 2025-01-03 12405/week @ 2025-01-10 13204/week @ 2025-01-17 13650/week @ 2025-01-24 14632/week @ 2025-01-31 15239/week @ 2025-02-07 12245/week @ 2025-02-14 16285/week @ 2025-02-21 17863/week @ 2025-02-28 21184/week @ 2025-03-07 18190/week @ 2025-03-14 17088/week @ 2025-03-21

77,552 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