Skip to content

codexwire-protocol: no_std + alloc - #6

Merged
macalinao merged 1 commit into
mainfrom
no-std
Nov 17, 2026
Merged

macalinao merged 1 commit into
mainfrom
no-std

Conversation

@macalinao

Copy link
Copy Markdown
Contributor

codexwire-protocol is now #![no_std] and needs only alloc (it has no features, so nothing is gated).

  • Workspace serde/serde_json use default-features = false with alloc; codexwire opts back into std for both.
  • The generator (scripts/gen-codex-protocol.py) and generated.rs import String/Vec from alloc; scripts/check-codegen is clean.
  • CI: the portable protocol job also builds the crate for thumbv7em-none-eabihf.
  • README notes no_std support.

Semver: no default-feature or public type change (serde_json::Value etc. are the same types).

Local checks (nix dev shell): fmt, clippy --all-features, nextest, doctests, docs -D warnings, check-codegen, cargo publish --dry-run, cargo-deny, plus the thumbv7em build. CI may not run because of GitHub billing.

Part of the talaagent no_std audit.

@macalinao
macalinao merged commit fd80c81 into main Nov 17, 2026
10 checks passed
@github-actions github-actions Bot mentioned this pull request Nov 17, 2026
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