Skip to content

no-std clients#97

Closed
grod220 wants to merge 1 commit into
mainfrom
no-std-support
Closed

no-std clients#97
grod220 wants to merge 1 commit into
mainfrom
no-std-support

Conversation

@grod220

@grod220 grod220 commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

inspired by solana-program/associated-token-account#243 (comment)

At the moment, the generated rust clients use the standard library. This means, for crates or environments that are no-std, it will not compile. This PR updates the rust renderer so generated clients compile in no-std environments by default.

API changes:

  • Serialization helpers now return borsh::io::Error instead of std::io::Error
  • Cargo manifests now default key deps to no-std-friendly settings

Think this is an argument for a major version bump.

@changeset-bot

changeset-bot Bot commented Apr 20, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 68012e9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@codama/renderers-rust Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@grod220 grod220 force-pushed the no-std-support branch 4 times, most recently from d530621 to 11de275 Compare April 20, 2026 16:59
@grod220

grod220 commented May 11, 2026

Copy link
Copy Markdown
Contributor Author

Discussed offline about another roadmap for client generation

@grod220 grod220 closed this May 11, 2026
@grod220 grod220 deleted the no-std-support branch May 11, 2026 12:50
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