5 releases

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

#748 in Filesystem

Download history 2949/week @ 2026-04-14 3128/week @ 2026-04-21 2840/week @ 2026-04-28 2956/week @ 2026-05-05 2674/week @ 2026-05-12 2564/week @ 2026-05-19 3004/week @ 2026-05-26 3381/week @ 2026-06-02 3367/week @ 2026-06-09 2547/week @ 2026-06-16 2944/week @ 2026-06-23 2556/week @ 2026-06-30 2684/week @ 2026-07-07 2379/week @ 2026-07-14 3140/week @ 2026-07-21 2505/week @ 2026-07-28

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

~1–1.6MB
~39K SLoC