Bug: 317282804

Clone this repo:
  1. 79d50c7 Revert "wire_format_derive_test_src_lib restore name" am: 5c8fdaad2b by Steven Moreland · 3 months ago main
  2. 8e0c184 wire_format_derive_test_src_lib restore name am: 1b76fc27ba by Steven Moreland · 3 months ago
  3. 5c8fdaa Revert "wire_format_derive_test_src_lib restore name" by Steven Moreland · 3 months ago
  4. 1b76fc2 wire_format_derive_test_src_lib restore name by Steven Moreland · 3 months ago
  5. 0ff2b03 add cargo_embargo.json and Android.bp am: 2a34eae920 by Frederick Mayle · 3 months ago

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.