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

#336 in Network programming

Download history 2312/week @ 2024-11-16 1578/week @ 2024-11-23 2258/week @ 2024-11-30 1862/week @ 2024-12-07 2490/week @ 2024-12-14 392/week @ 2024-12-21 333/week @ 2024-12-28 1506/week @ 2025-01-04 2691/week @ 2025-01-11 1661/week @ 2025-01-18 2360/week @ 2025-01-25 2001/week @ 2025-02-01 2059/week @ 2025-02-08 2695/week @ 2025-02-15 4187/week @ 2025-02-22 2289/week @ 2025-03-01

11,482 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