5 releases

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

#148 in Filesystem

Download history 643/week @ 2024-11-29 848/week @ 2024-12-06 677/week @ 2024-12-13 184/week @ 2024-12-20 89/week @ 2024-12-27 636/week @ 2025-01-03 640/week @ 2025-01-10 604/week @ 2025-01-17 875/week @ 2025-01-24 906/week @ 2025-01-31 985/week @ 2025-02-07 762/week @ 2025-02-14 889/week @ 2025-02-21 619/week @ 2025-02-28 916/week @ 2025-03-07 1057/week @ 2025-03-14

3,621 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