#linux #libc

nightly no-std c-scape

A libc bottom-half implementation in Rust

39 releases (15 breaking)

new 0.15.5 Sep 20, 2023
0.14.5 Sep 20, 2023
0.9.0 Jul 1, 2023
0.8.1 Mar 31, 2023
0.3.0 Nov 18, 2021

#123 in No standard library

Download history 50/week @ 2023-06-05 18/week @ 2023-06-12 64/week @ 2023-06-19 38/week @ 2023-06-26 62/week @ 2023-07-03 51/week @ 2023-07-10 42/week @ 2023-07-17 23/week @ 2023-07-24 31/week @ 2023-07-31 40/week @ 2023-08-07 38/week @ 2023-08-14 2/week @ 2023-08-21 169/week @ 2023-08-28 67/week @ 2023-09-04 176/week @ 2023-09-11 479/week @ 2023-09-18

891 downloads per month
Used in 3 crates (via c-gull)

Apache-2.0…

310KB
7.5K 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 30 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

~8–18MB
~289K SLoC