#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

#527 in Asynchronous

Download history 414/week @ 2024-09-25 492/week @ 2024-10-02 887/week @ 2024-10-09

1,793 downloads per month
Used in deno

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–6.5MB
~37K SLoC