https://github.com/bmatcuk/libuv-rs
A safe rust wrapper for libuv
https://github.com/bmatcuk/libuv-rs
Last synced: about 1 year ago
JSON representation
A safe rust wrapper for libuv
- Host: GitHub
- URL: https://github.com/bmatcuk/libuv-rs
- Owner: bmatcuk
- License: mit
- Created: 2020-01-26T14:55:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-01-17T00:13:53.000Z (over 1 year ago)
- Last Synced: 2025-03-30T12:08:33.645Z (about 1 year ago)
- Language: Rust
- Size: 308 KB
- Stars: 40
- Watchers: 2
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/bmatcuk/libuv-rs/actions)
[](https://crates.io/crates/libuv)
[](https://docs.rs/libuv)
# libuv-rs
A safe rust wrapper for [libuv].
## Getting Started
Include [libuv-rs] as a dependency in your Cargo.toml:
```toml
[dependencies]
libuv = "~1.0.0"
```
[libuv-rs] uses semantic versioning.
As of v2.0.1, libuv-rs supports the `skip-pkg-config` feature. This is passed
to [libuv-sys2] to skip searching for a local install of [libuv] via pkg-config
and, instead, causes [libuv-sys2] to build [libuv] from source.
You'll want to make sure to familiarize yourself with [libuv] by reading
[libuv's documentation]. You can then familiarize yourself with [libuv-rs] by
reading the [examples] and [documentation].
## Unimplemented
[libuv-rs] strives to implement wrappers for all [libuv] functionality.
However, some functionality was purposefully excluded as rust provides
implementations of its own. That is: threads and synchronization (mutexes,
locks, semaphores, conditional variables, barriers, etc).
If your rust project would benefit from [libuv]'s threading or synchronization
primitives, please file an Issue on github and I'll implement wrappers for it!
## Cross-Platform Considerations
[libuv-rs] depends on [libuv-sys2], which depends on [bindgen]. On Windows,
[bindgen] requires rust's msvc toolchain.
[bindgen]: https://rust-lang.github.io/rust-bindgen/
[documentation]: https://docs.rs/libuv
[examples]: https://github.com/bmatcuk/libuv-rs/tree/master/examples
[libuv's documentation]: http://docs.libuv.org
[libuv-rs]: https://github.com/bmatcuk/libuv-rs/
[libuv-sys2]: https://github.com/bmatcuk/libuv-sys/
[libuv]: https://libuv.org/