15 stable releases

4.4.2 Mar 5, 2025
4.3.0 Dec 18, 2024
4.2.0 Nov 18, 2024
3.4.0 Oct 7, 2024
3.3.0 Mar 21, 2024

#5 in #seccomp

Download history 9921/week @ 2024-11-30 10294/week @ 2024-12-07 12299/week @ 2024-12-14 3266/week @ 2024-12-21 5474/week @ 2024-12-28 13605/week @ 2025-01-04 12765/week @ 2025-01-11 12882/week @ 2025-01-18 12939/week @ 2025-01-25 16089/week @ 2025-02-01 14059/week @ 2025-02-08 13354/week @ 2025-02-15 16910/week @ 2025-02-22 18371/week @ 2025-03-01 19818/week @ 2025-03-08 15204/week @ 2025-03-15

73,483 downloads per month
Used in 2 crates (via tokio-quiche)

BSD-3-Clause

1MB
26K SLoC

C 17K SLoC // 0.2% comments Rust 6K 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
~287K SLoC