You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by yu...@apache.org on 2026/03/11 09:22:43 UTC

(teaclave-crates) 02/02: Update README.md

This is an automated email from the ASF dual-hosted git repository.

yuanz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/teaclave-crates.git

commit 6659273aea99bb3ae767463a252ed4b0829630da
Author: Yuan Zhuang <yu...@apache.org>
AuthorDate: Tue Mar 10 09:18:13 2026 +0000

    Update README.md
---
 README.md | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 6033637..300c959 100644
--- a/README.md
+++ b/README.md
@@ -22,13 +22,22 @@ This repository serves to:
 
 ## Principles for Management
 
-This repository follows a structured monorepo layout under the `crates/` directory. Each subdirectory hosts a TEE-adapted version of an upstream Rust crate.
+This repository supports two hosting approaches, selected per dependency and maintenance cost:
+
+1. **Patch bundle approach**  
+	Keep a known upstream source snapshot and maintain Teaclave/TEE adaptation patches in this repository.
+2. **Full crate import approach**  
+	Import the adapted crate source directly into this repository when a standalone crate copy is clearer or easier to maintain.
+
+In practice, both approaches are valid and can coexist in the same repository based on actual needs.
+
+Typical layout examples:
 
 ```
 crates/
-├── foo/ # Adaptation of the foo crate
-├── bar/ # Adaptation of the bar crate
-├── ...
+├── foo-VERSION/ # can be full crate source code
+├── bar-VERSION/ # can be patch files
+└── ...
 ```
 
 Each adapted crate is:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org