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

#964 in Parser implementations

Download history 561/week @ 2024-01-06 614/week @ 2024-01-13 576/week @ 2024-01-20 577/week @ 2024-01-27 554/week @ 2024-02-03 425/week @ 2024-02-10 715/week @ 2024-02-17 557/week @ 2024-02-24 776/week @ 2024-03-02 654/week @ 2024-03-09 579/week @ 2024-03-16 646/week @ 2024-03-23 874/week @ 2024-03-30 904/week @ 2024-04-06 690/week @ 2024-04-13 582/week @ 2024-04-20

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

~0.4–1MB
~25K SLoC