add cargo_embargo.json and Android.bp am: 8b418a36cf

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

Change-Id: Ie0f1191cd125a6d077a460ef53d846b592bb8872
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: 67f27a8c4baae18b14b5c944a9aa6190072c41ec
  1. src/
  2. .cargo_vcs_info.json
  3. .gitignore
  4. Android.bp
  5. Android.bp.patch
  6. Cargo.toml
  7. Cargo.toml.orig
  8. cargo_embargo.json
  9. CONTRIBUTING.md
  10. LICENSE
  11. METADATA
  12. MODULE_LICENSE_BSD_LIKE
  13. OWNERS
  14. 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.