From c23df48fe3703f8bba8eb1c346e74aee1336b047 Mon Sep 17 00:00:00 2001 From: sohw400 Date: Thu, 25 Sep 2025 11:08:26 +0900 Subject: [PATCH] chore: update dependencies and improve package metadata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update outdated dependencies: clap 3.2.25→4.5, nix 0.26→0.29, byteorder 1.3→1.5, num 0.2→0.4 - Normalize serde version constraints from '>=1.0' to '1.0' - Add comprehensive package metadata to all Cargo.toml files: - Add missing authors, descriptions, and license information - Fix repository URLs pointing to correct GitHub organization - Add relevant keywords and categories for Rust package discovery - Set homepage links to main repository - Establish workspace-level metadata inheritance - Add accessibility improvements to README.md banner image - Set rust-version metadata to 1.80 for toolchain consistency This improves package discoverability, maintainability, and follows Rust ecosystem best practices. --- Cargo.toml | 12 ++++++++++-- README.md | 2 +- fs-monitor/Cargo.toml | 8 ++++++++ pf-proxy/Cargo.toml | 8 ++++++++ pipeline/Cargo.toml | 18 ++++++++++-------- ra-web-srv/Cargo.toml | 12 ++++++++++-- 6 files changed, 47 insertions(+), 13 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8fd3184..6405eb7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,9 +10,17 @@ exclude = [ "reference_apps", ] -# edition = "2021" resolver = "2" -overflow-checks = true + +[workspace.package] +edition = "2021" +authors = ["Sentient Enclaves Team "] +license = "Apache-2.0" +homepage = "https://github.com/sentient-agi/Sentient-Enclaves-Framework" +repository = "https://github.com/sentient-agi/Sentient-Enclaves-Framework" + +[workspace.metadata] +rust-version = "1.80" [profile.release] strip = true diff --git a/README.md b/README.md index f159d7b..fa4017d 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@

- + Sentient Enclaves Framework - Confidential Computing Infrastructure Banner

Welcome to the Sentient Enclaves Framework. The framework provides end-to-end infrastructure for building confidential AI applications using TEEs. diff --git a/fs-monitor/Cargo.toml b/fs-monitor/Cargo.toml index 4e6755d..71ed19b 100644 --- a/fs-monitor/Cargo.toml +++ b/fs-monitor/Cargo.toml @@ -1,7 +1,15 @@ [package] name = "fs-monitor" version = "0.8.2" +authors = ["Sentient Enclaves Team "] edition = "2021" +description = "Real-time inotify events monitoring server for file system changes in AWS Nitro Enclaves" +homepage = "https://github.com/sentient-agi/Sentient-Enclaves-Framework" +repository = "https://github.com/sentient-agi/Sentient-Enclaves-Framework" +license = "Apache-2.0" +keywords = ["filesystem", "monitoring", "tee", "enclave", "inotify"] +categories = ["filesystem", "os::unix-apis", "cryptography"] +publish = false [dependencies] inotify = "0.11.0" diff --git a/pf-proxy/Cargo.toml b/pf-proxy/Cargo.toml index 9b9baf2..559beec 100644 --- a/pf-proxy/Cargo.toml +++ b/pf-proxy/Cargo.toml @@ -1,7 +1,15 @@ [package] name = "pf-proxy" version = "0.8.2" +authors = ["Sentient Enclaves Team "] edition = "2021" +description = "Transparent vsock proxies for internet-enabled applications in AWS Nitro Enclaves" +homepage = "https://github.com/sentient-agi/Sentient-Enclaves-Framework" +repository = "https://github.com/sentient-agi/Sentient-Enclaves-Framework" +license = "Apache-2.0" +keywords = ["proxy", "vsock", "tee", "enclave", "aws-nitro"] +categories = ["network-programming", "cryptography"] +publish = false [[bin]] name = "vsock-to-ip" diff --git a/pipeline/Cargo.toml b/pipeline/Cargo.toml index 113a8db..ac40c84 100644 --- a/pipeline/Cargo.toml +++ b/pipeline/Cargo.toml @@ -5,20 +5,22 @@ authors = ["Sentient Enclaves Team "] edition = "2021" # resolver = "2" # rust-version = "1.80" -description = "Pipeline vsock secure local channel communication protocol that provides remote control of enclave via running shell commands inside the enclave and provides bidirectional files transmission into/from encalve's file system." -homepage = "https://github.com/sentient-xyz/pipeline-tee.rs/" -repository = "https://github.com/sentient-xyz/pipeline-tee.rs/" +description = "Pipeline vsock secure local channel communication protocol that provides remote control of enclave via running shell commands inside the enclave and provides bidirectional files transmission into/from enclave's file system." +homepage = "https://github.com/sentient-agi/Sentient-Enclaves-Framework" +repository = "https://github.com/sentient-agi/Sentient-Enclaves-Framework" license = "Apache-2.0" +keywords = ["tee", "enclave", "confidential-computing", "vsock", "aws-nitro"] +categories = ["cryptography", "network-programming", "command-line-utilities"] publish = false [dependencies] -clap = "3.2.25" +clap = "4.5" log = "0.4" -nix = "0.26" -serde = { version = ">=1.0", features = ["derive"] } +nix = "0.29" +serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -byteorder = "1.3" -num = "0.2" +byteorder = "1.5" +num = "0.4" num-derive = "0.4" num-traits = "0.2" toml = "0.8" diff --git a/ra-web-srv/Cargo.toml b/ra-web-srv/Cargo.toml index f2ad3dc..46a5fd7 100644 --- a/ra-web-srv/Cargo.toml +++ b/ra-web-srv/Cargo.toml @@ -1,7 +1,15 @@ [package] name = "ra-web-srv" version = "0.8.2" +authors = ["Sentient Enclaves Team "] edition = "2021" +description = "Remote Attestation Web Server for verifying integrity of AWS Nitro Enclave applications" +homepage = "https://github.com/sentient-agi/Sentient-Enclaves-Framework" +repository = "https://github.com/sentient-agi/Sentient-Enclaves-Framework" +license = "Apache-2.0" +keywords = ["attestation", "tee", "enclave", "aws-nitro", "security"] +categories = ["cryptography", "web-programming", "authentication"] +publish = false [[bin]] name = "ra-web-srv" @@ -16,8 +24,8 @@ axum = { version = "0.8" } axum-extra = { version = "0.10" } axum-server = { version = "0.7", features = ["tls-openssl"] } axum-macros = "0.5" -serde = { version = ">=1.0", features = ["derive"] } -serde_json = { version = ">=1.0" } +serde = { version = "1.0", features = ["derive"] } +serde_json = { version = "1.0" } serde_bytes = "0.11" serde_cbor = "0.11" futures = "0.3"