6 stable releases

3.3.0 Mar 21, 2024
3.2.2 Feb 15, 2024
3.2.1 Feb 5, 2024
3.1.1 Jan 26, 2024
3.0.1 Jan 23, 2024

#256 in Development tools

Download history 342/week @ 2024-01-20 1591/week @ 2024-01-27 2637/week @ 2024-02-03 3192/week @ 2024-02-10 2581/week @ 2024-02-17 2972/week @ 2024-02-24 3813/week @ 2024-03-02 4205/week @ 2024-03-09 4581/week @ 2024-03-16 4205/week @ 2024-03-23 4163/week @ 2024-03-30 3387/week @ 2024-04-06

17,282 downloads per month

BSD-3-Clause

1MB
25K SLoC

C 17K SLoC // 0.2% comments Rust 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–20MB
~257K SLoC