#libc #linux

nightly no-std c-scape

A libc bottom-half implementation in Rust

81 releases

0.17.0 Aug 22, 2024
0.16.1 May 22, 2024
0.15.44 Apr 22, 2024
0.15.41 Feb 29, 2024
0.3.0 Nov 18, 2021

#24 in No standard library

Download history 230/week @ 2024-05-13 265/week @ 2024-05-20 13/week @ 2024-05-27 36/week @ 2024-06-03 19/week @ 2024-06-10 10/week @ 2024-06-17 18/week @ 2024-06-24 58/week @ 2024-07-01 8/week @ 2024-07-08 13/week @ 2024-07-15 701/week @ 2024-07-29 27/week @ 2024-08-12 173/week @ 2024-08-19 32/week @ 2024-08-26

252 downloads per month
Used in 6 crates (via c-gull)

Apache-2.0…

570KB
16K SLoC

Contains (static library, 1KB) empty/riscv64/libxnet.a, (static library, 1KB) empty/aarch64/libc.a, (static library, 1KB) empty/aarch64/libcrypt.a, (static library, 1KB) empty/aarch64/libdl.a, (static library, 1KB) empty/aarch64/libgcc.a, (static library, 1KB) empty/aarch64/libgcc_s.a and 54 more.

c-scape

A layer underneath c-gull

Github Actions CI Status zulip chat crates.io page docs.rs docs

c-scape is a layer underneath c-gull. It provides a subset of libc features, containing only features that don't require Rust's std to implement. This allows it to be used by std itself.

Similar to c-gull, c-scape has "take-charge" and "coexist-with-libc" modes.

"take-charge" mode requires some additional setup; see the c-scape-example example crate for more details.

Dependencies

~11–20MB
~373K SLoC