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

libuv-sys-lite

Tiny, raw bindings to libuv without linking to it

4 stable releases

new 1.48.3 Jan 10, 2025
1.48.2 Sep 28, 2024
1.48.0 Sep 25, 2024

#485 in Asynchronous

Download history 110/week @ 2024-09-20 421/week @ 2024-09-27 727/week @ 2024-10-04 881/week @ 2024-10-11 490/week @ 2024-10-18 773/week @ 2024-10-25 567/week @ 2024-11-01 448/week @ 2024-11-08 473/week @ 2024-11-15 422/week @ 2024-11-22 383/week @ 2024-11-29 834/week @ 2024-12-06 839/week @ 2024-12-13 552/week @ 2024-12-20 551/week @ 2024-12-27 554/week @ 2025-01-03

2,707 downloads per month
Used in deno_napi

Custom license

1MB
21K 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
~38K SLoC