#libuv #bindings #raw #dynamic #tiny #loading #link

libuv-sys-lite

Tiny, raw bindings to libuv without linking to it

3 stable releases

1.48.2 Sep 28, 2024
1.48.0 Sep 25, 2024

#429 in Asynchronous

Download history 123/week @ 2024-09-21 507/week @ 2024-09-28 728/week @ 2024-10-05 883/week @ 2024-10-12 501/week @ 2024-10-19 669/week @ 2024-10-26

2,880 downloads per month
Used in deno_napi

Custom license

44KB
1K SLoC

libuv-sys-lite

Dynamic loading logic copied from https://github.com/neon-bindings/neon/tree/0.10.0/crates/neon-runtime/src/napi/bindings.

Tiny binding to libuv, that does not link to the library. The expectation is that the consumer will link to the appropriate library.

Essentially just a rust version of uv.h, to provide interfaces without making decisions on how to provide the actual implementation. This is similar to napi-sys.

Dependencies

~0–6MB
~37K SLoC