5 releases

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

#173 in Filesystem

Download history 775/week @ 2024-10-26 551/week @ 2024-11-02 867/week @ 2024-11-09 993/week @ 2024-11-16 868/week @ 2024-11-23 678/week @ 2024-11-30 853/week @ 2024-12-07 675/week @ 2024-12-14 88/week @ 2024-12-21 104/week @ 2024-12-28 725/week @ 2025-01-04 644/week @ 2025-01-11 574/week @ 2025-01-18 899/week @ 2025-01-25 957/week @ 2025-02-01 950/week @ 2025-02-08

3,523 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
~22K SLoC