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

#239 in Development tools

Download history 114/week @ 2024-01-19 1506/week @ 2024-01-26 2553/week @ 2024-02-02 3008/week @ 2024-02-09 2610/week @ 2024-02-16 2956/week @ 2024-02-23 3702/week @ 2024-03-01 3938/week @ 2024-03-08 4629/week @ 2024-03-15 4489/week @ 2024-03-22 4048/week @ 2024-03-29 4129/week @ 2024-04-05 3958/week @ 2024-04-12 3622/week @ 2024-04-19

17,029 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–18MB
~255K SLoC