5 releases

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

#480 in Filesystem

Download history 2033/week @ 2025-12-07 1886/week @ 2025-12-14 869/week @ 2025-12-21 858/week @ 2025-12-28 2104/week @ 2026-01-04 2075/week @ 2026-01-11 1878/week @ 2026-01-18 2120/week @ 2026-01-25 1841/week @ 2026-02-01 2107/week @ 2026-02-08 2044/week @ 2026-02-15 2588/week @ 2026-02-22 2200/week @ 2026-03-01 2734/week @ 2026-03-08 2334/week @ 2026-03-15 2116/week @ 2026-03-22

9,648 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.2–0.9MB
~20K SLoC