12 stable releases

4.3.0 Dec 18, 2024
4.2.0 Nov 18, 2024
4.0.0 Oct 14, 2024
4.0.0-rc.1 Sep 13, 2024
3.1.1 Jan 26, 2024

#158 in Development tools

Download history 5488/week @ 2024-09-26 6159/week @ 2024-10-03 8632/week @ 2024-10-10 7674/week @ 2024-10-17 8965/week @ 2024-10-24 8691/week @ 2024-10-31 9834/week @ 2024-11-07 11719/week @ 2024-11-14 10622/week @ 2024-11-21 9182/week @ 2024-11-28 10701/week @ 2024-12-05 11526/week @ 2024-12-12 6132/week @ 2024-12-19 3842/week @ 2024-12-26 11868/week @ 2025-01-02 11913/week @ 2025-01-09

36,451 downloads per month

BSD-3-Clause

1MB
26K SLoC

C 17K SLoC // 0.2% comments Rust 5.5K 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

~3–19MB
~281K SLoC