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

#157 in Development tools

Download history 5896/week @ 2024-09-20 5506/week @ 2024-09-27 6629/week @ 2024-10-04 8444/week @ 2024-10-11 7723/week @ 2024-10-18 9139/week @ 2024-10-25 8969/week @ 2024-11-01 10459/week @ 2024-11-08 11685/week @ 2024-11-15 10015/week @ 2024-11-22 9506/week @ 2024-11-29 10441/week @ 2024-12-06 12021/week @ 2024-12-13 4145/week @ 2024-12-20 4866/week @ 2024-12-27 10467/week @ 2025-01-03

33,387 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

~2–19MB
~280K SLoC