Migrate 25 crates to monorepo. am: 325d365569

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/p9/+/3248113

Change-Id: Ibee0118958ec185a9f6ab049038cf937edab5a54
Signed-off-by: Automerger Merge Worker <[email protected]>
tree: 0af76623d1649945a79a0f176c85a02f41acaef3
  1. patches/
  2. src/
  3. .cargo_vcs_info.json
  4. .gitignore
  5. Android.bp
  6. Cargo.toml
  7. Cargo.toml.orig
  8. CONTRIBUTING.md
  9. LICENSE
  10. METADATA
  11. MODULE_LICENSE_BSD_LIKE
  12. OWNERS
  13. README.md
README.md

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.