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

#240 in Development tools

Download history 1288/week @ 2024-01-25 2129/week @ 2024-02-01 2993/week @ 2024-02-08 2628/week @ 2024-02-15 3167/week @ 2024-02-22 3370/week @ 2024-02-29 3949/week @ 2024-03-07 4422/week @ 2024-03-14 4259/week @ 2024-03-21 4445/week @ 2024-03-28 4235/week @ 2024-04-04 4036/week @ 2024-04-11 4324/week @ 2024-04-18 3878/week @ 2024-04-25 4265/week @ 2024-05-02 3053/week @ 2024-05-09

16,335 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
~254K SLoC