5 releases

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

#162 in Filesystem

Download history 559/week @ 2024-08-27 920/week @ 2024-09-03 564/week @ 2024-09-10 742/week @ 2024-09-17 796/week @ 2024-09-24 897/week @ 2024-10-01 836/week @ 2024-10-08 583/week @ 2024-10-15 766/week @ 2024-10-22 762/week @ 2024-10-29 610/week @ 2024-11-05 848/week @ 2024-11-12 1067/week @ 2024-11-19 829/week @ 2024-11-26 702/week @ 2024-12-03 753/week @ 2024-12-10

3,492 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
~23K SLoC