https://github.com/vi/rust-nbd
Rust library for NBD (network block device) protocol.
https://github.com/vi/rust-nbd
Last synced: 12 months ago
JSON representation
Rust library for NBD (network block device) protocol.
- Host: GitHub
- URL: https://github.com/vi/rust-nbd
- Owner: vi
- Created: 2018-07-24T22:21:12.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T16:40:42.000Z (over 2 years ago)
- Last Synced: 2025-06-21T19:17:25.265Z (about 1 year ago)
- Language: Rust
- Size: 47.9 KB
- Stars: 26
- Watchers: 4
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
rust-nbd
---
[Network block device](https://en.wikipedia.org/wiki/Network_block_device) protocol implementation in Rust. Not all features are currently supported in server.
Accepts a `Read`+`Write`+`Seek` as a data to be exposed in server mode. Provides `Read`+`Write`+`Seek` in client mode. Underlying connection is `Read`+`Write`, usage of `bufstream` crate is recommended.
This library is IO-agnostic, but async is not supported.
See [server example](https://github.com/vi/rust-nbd/blob/master/examples/server.rs) or [client example](https://github.com/vi/rust-nbd/blob/master/examples/client.rs).
This is a rather early version.