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

#243 in Development tools

Download history 424/week @ 2024-01-22 1643/week @ 2024-01-29 2698/week @ 2024-02-05 3174/week @ 2024-02-12 2523/week @ 2024-02-19 3011/week @ 2024-02-26 3810/week @ 2024-03-04 4229/week @ 2024-03-11 4651/week @ 2024-03-18 4079/week @ 2024-03-25 4223/week @ 2024-04-01 4031/week @ 2024-04-08 4014/week @ 2024-04-15 4200/week @ 2024-04-22 4368/week @ 2024-04-29 3868/week @ 2024-05-06

16,474 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–19MB
~256K SLoC