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

#486 in Network programming

Download history 700/week @ 2023-12-31 639/week @ 2024-01-07 460/week @ 2024-01-14 962/week @ 2024-01-21 709/week @ 2024-01-28 548/week @ 2024-02-04 957/week @ 2024-02-11 579/week @ 2024-02-18 951/week @ 2024-02-25 471/week @ 2024-03-03 811/week @ 2024-03-10 1304/week @ 2024-03-17 1005/week @ 2024-03-24 789/week @ 2024-03-31 473/week @ 2024-04-07 504/week @ 2024-04-14

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

~120KB