#libc #linux

nightly no-std c-scape

A libc bottom-half implementation in Rust

78 releases (15 breaking)

0.15.44 Apr 22, 2024
0.15.41 Feb 29, 2024
0.15.40 Dec 30, 2023
0.15.27 Nov 28, 2023
0.3.0 Nov 18, 2021

#66 in No standard library

Download history 31/week @ 2024-01-22 28/week @ 2024-01-29 32/week @ 2024-02-05 71/week @ 2024-02-12 56/week @ 2024-02-19 433/week @ 2024-02-26 36/week @ 2024-03-04 73/week @ 2024-03-11 29/week @ 2024-03-18 22/week @ 2024-03-25 360/week @ 2024-04-01 39/week @ 2024-04-08 62/week @ 2024-04-15 208/week @ 2024-04-22 104/week @ 2024-04-29 16/week @ 2024-05-06

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

Apache-2.0…

565KB
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

~9–19MB
~321K SLoC