Skip to content

Prepare Rust crates for cargo publish - #193

Merged
Branden Bonaby (bbonaby) merged 1 commit into
mainfrom
update-for-rust-publishing
Jan 30, 2026
Merged

Branden Bonaby (bbonaby) merged 1 commit into
mainfrom
update-for-rust-publishing

Conversation

@bbonaby

Copy link
Copy Markdown
Contributor

Summary

This PR updates the Rust SDK and code generation crates to meet crates.io publishing requirements and enables publishing via cargo publish.

Key changes

  • Added required package metadata (license, description, repository, etc.) to all publishable crates
  • Replaced Git-based dependencies with versioned dependencies (version = "0.1")
  • Updated code generation to emit versioned dependencies by default
  • Renamed generated crates from sdk_*_gen to the vbsenclave_sdk_*_gen namespace and updated all imports, since they have to be published
  • Marked test and sample crates as publish = false
  • Updated README to reflect Rust support

Validation

  • cargo package succeeds across Rust workspaces
  • cargo publish --dry-run succeeds across Rust workspaces
  • SDK host and enclave crates build successfully with renamed generated crates

@bbonaby Branden Bonaby (bbonaby) changed the title Prepare Rust SDK for cargo publish Prepare Rust crates for cargo publish Jan 30, 2026

@SohamDas2021 Soham Das (SohamDas2021) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@bbonaby
Branden Bonaby (bbonaby) merged commit 6724c4c into main Jan 30, 2026
19 checks passed
@bbonaby
Branden Bonaby (bbonaby) deleted the update-for-rust-publishing branch February 6, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants