Skip to content

feat: add official spawnbox Rust SDK crate - #34

Merged
dhruvjainin merged 5 commits into
mainfrom
feat/spawnbox-client
Nov 30, 2026
Merged

dhruvjainin merged 5 commits into
mainfrom
feat/spawnbox-client

Conversation

@dhruvjainin

Copy link
Copy Markdown
Contributor

Adds the official open-source spawnbox-client Rust SDK crate under crates/spawnbox-client.

Summary

  • SpawnboxClient: validated/normalized control-plane base URL, bearer auth, automatic retries on 429/502/503/504 with Retry-After and jittered exponential backoff, typed SpawnboxError, 404 -> Ok(None), and high-level helpers (ensure_tenant, upsert_secret, ensure_template, create_sandbox, get_sandbox, list_sandboxes, delete_sandbox, exec).
  • ForwardClient: app-forward proxy client injecting x-spawnbox-target and optional shared secret with streaming response support (for SSE / HTTP proxying).
  • Zero new third-party dependencies: reuses workspace dependency versions.
  • Docs & tests: quickstart crates/spawnbox-client/README.md and 5 mock-server unit tests (cargo fmt, cargo clippy -D warnings, cargo test -p spawnbox-client).

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Deploying spawnbox with  Cloudflare Pages  Cloudflare Pages

Latest commit: d93ff85
Status: ✅  Deploy successful!
Preview URL: https://b43dee30.spawnbox-dww.pages.dev
Branch Preview URL: https://feat-spawnbox-client.spawnbox-dww.pages.dev

View logs

@dhruvjainin dhruvjainin changed the title feat: add official spawnbox-client Rust SDK crate feat: add official spawnbox Rust SDK crate Nov 30, 2026
@dhruvjainin
dhruvjainin merged commit 6f9c60d into main Nov 30, 2026
6 of 7 checks passed
@dhruvjainin
dhruvjainin deleted the feat/spawnbox-client branch November 30, 2026 16:03
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.

1 participant