Thanks to visit codestin.com
Credit goes to lib.rs

#9p #protocols #wire-format #file-server #p9

jetstream_p9

Server implementation of the 9p file system protocol

10 releases (4 breaking)

0.6.0 Mar 21, 2024
0.5.1 Mar 15, 2024
0.4.0 Mar 14, 2024
0.3.2 Mar 14, 2024
0.1.5 Mar 14, 2024

#1841 in Filesystem

Codestin Search App

419 downloads per month

BSD-3-Clause

145KB
3.5K SLoC

p9 - Server implementation of the 9p file system protocol

This directory contains the protocol definition and a server implementation of the 9p file system protocol.

  • wire_format_derive - A procedural macro that derives the serialization and de-serialization implementation for a struct into the 9p wire format.
  • src/protocol - Defines all the messages used in the 9p protocol. Also implements serialization and de-serialization for some base types (integers, strings, vectors) that form the foundation of all 9p messages. Wire format implementations for all other messages are derived using the wire_format_derive macro.
  • src/server - Implements a full 9p server, carrying out file system requests on behalf of clients.

Dependencies

~2.4–4MB
~66K SLoC