#libc #linux

nightly no-std c-scape

A libc bottom-half implementation in Rust

78 releases (15 breaking)

new 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

#80 in No standard library

Download history 92/week @ 2023-12-31 48/week @ 2024-01-07 42/week @ 2024-01-14 48/week @ 2024-01-21 28/week @ 2024-01-28 28/week @ 2024-02-04 69/week @ 2024-02-11 59/week @ 2024-02-18 425/week @ 2024-02-25 44/week @ 2024-03-03 73/week @ 2024-03-10 27/week @ 2024-03-17 26/week @ 2024-03-24 346/week @ 2024-03-31 51/week @ 2024-04-07 44/week @ 2024-04-14

469 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–21MB
~329K SLoC