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

libuv-sys-lite

Tiny, raw bindings to libuv without linking to it

4 stable releases

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

#265 in Asynchronous

Download history 739/week @ 2024-10-29 513/week @ 2024-11-05 367/week @ 2024-11-12 473/week @ 2024-11-19 425/week @ 2024-11-26 614/week @ 2024-12-03 954/week @ 2024-12-10 650/week @ 2024-12-17 445/week @ 2024-12-24 544/week @ 2024-12-31 802/week @ 2025-01-07 1027/week @ 2025-01-14 979/week @ 2025-01-21 637/week @ 2025-01-28 609/week @ 2025-02-04 455/week @ 2025-02-11

2,797 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