9 releases

Uses old Rust 2015

0.3.1 Mar 28, 2024
0.3.0 Feb 23, 2023
0.2.3 May 9, 2020
0.2.2 Dec 27, 2019
0.1.2 Jul 24, 2018

#209 in Network programming

Download history 2186/week @ 2024-09-11 2798/week @ 2024-09-18 4110/week @ 2024-09-25 2446/week @ 2024-10-02 3262/week @ 2024-10-09 2000/week @ 2024-10-16 1938/week @ 2024-10-23 2697/week @ 2024-10-30 2639/week @ 2024-11-06 2557/week @ 2024-11-13 2363/week @ 2024-11-20 1722/week @ 2024-11-27 1864/week @ 2024-12-04 2242/week @ 2024-12-11 1697/week @ 2024-12-18 291/week @ 2024-12-25

6,602 downloads per month
Used in 4 crates

MIT/Apache

29KB
566 lines

rust-nbd

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 or client example.

This is a rather early version.


lib.rs:

First sketch of NBD (Network block device) protocol support in Rust API is not stable yet, obviously

https://github.com/NetworkBlockDevice/nbd/blob/master/doc/proto.md

Dependencies

~115KB