#libc #linux

nightly no-std c-scape

A libc bottom-half implementation in Rust

79 releases (16 breaking)

new 0.16.0 May 18, 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

#83 in No standard library

Download history 28/week @ 2024-01-24 31/week @ 2024-01-31 29/week @ 2024-02-07 88/week @ 2024-02-14 197/week @ 2024-02-21 283/week @ 2024-02-28 52/week @ 2024-03-06 54/week @ 2024-03-13 30/week @ 2024-03-20 250/week @ 2024-03-27 133/week @ 2024-04-03 41/week @ 2024-04-10 182/week @ 2024-04-17 128/week @ 2024-04-24 59/week @ 2024-05-01 7/week @ 2024-05-08

389 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

~9–20MB
~326K SLoC