5 releases

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

#177 in Filesystem

Download history 776/week @ 2024-09-23 848/week @ 2024-09-30 935/week @ 2024-10-07 509/week @ 2024-10-14 769/week @ 2024-10-21 771/week @ 2024-10-28 561/week @ 2024-11-04 870/week @ 2024-11-11 1036/week @ 2024-11-18 820/week @ 2024-11-25 685/week @ 2024-12-02 884/week @ 2024-12-09 608/week @ 2024-12-16 93/week @ 2024-12-23 100/week @ 2024-12-30 734/week @ 2025-01-06

1,566 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