#protocols #p9 #rread

p9

Server implementation of the 9p file system protocol

5 releases

0.3.2 Nov 26, 2024
0.3.1 Nov 19, 2024
0.2.3 Jul 31, 2023

#297 in #protocols

Download history 928/week @ 2025-01-26 939/week @ 2025-02-02 979/week @ 2025-02-09 753/week @ 2025-02-16 777/week @ 2025-02-23 783/week @ 2025-03-02 894/week @ 2025-03-09 971/week @ 2025-03-16 699/week @ 2025-03-23 790/week @ 2025-03-30 859/week @ 2025-04-06 876/week @ 2025-04-13 1061/week @ 2025-04-20 1489/week @ 2025-04-27 1548/week @ 2025-05-04 1591/week @ 2025-05-11

5,702 downloads per month

BSD-3-Clause

140KB
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

~0.3–1MB
~21K SLoC