2 releases

0.2.3 Jul 31, 2023
0.2.2 Jul 31, 2023
0.2.1 Jul 31, 2023
0.2.0 Jul 27, 2023

#664 in Filesystem

Download history 817/week @ 2024-06-17 1003/week @ 2024-06-24 600/week @ 2024-07-01 1094/week @ 2024-07-08 1167/week @ 2024-07-15 876/week @ 2024-07-22 960/week @ 2024-07-29 781/week @ 2024-08-05 692/week @ 2024-08-12 693/week @ 2024-08-19 627/week @ 2024-08-26 717/week @ 2024-09-02 776/week @ 2024-09-09 714/week @ 2024-09-16 776/week @ 2024-09-23 848/week @ 2024-09-30

3,126 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.rs - Implements a full 9p server, carrying out file system requests on behalf of clients.

Dependencies

~1.3–1.7MB
~42K SLoC