-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
protoc-gen-prost-serde: no_std
support
#102
Comments
tony-iqlusion
added a commit
to cosmos/cosmos-rust
that referenced
this issue
Sep 5, 2024
Adds some transforms which enable the generated PBJSON-related code to be usable in `no_std` environments. This is a workaround until such a time as it can be implemented natively in `neoeinstein-prost-serde`. See neoeinstein/protoc-gen-prost#102. Closes #499
This was referenced Sep 5, 2024
tony-iqlusion
added a commit
to cosmos/cosmos-rust
that referenced
this issue
Sep 5, 2024
Adds some transforms which enable the generated PBJSON-related code to be usable in `no_std` environments. This is a workaround until such a time as it can be implemented natively in `neoeinstein-prost-serde`. See neoeinstein/protoc-gen-prost#102. Closes #499
Unfortunately the code generated for |
Thanks! I opened an issue on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would it be possible to add an option for the generated code to avoid referencing
std
and things that are only in the prelude whenstd
is linked, e.g.std::result::Result
andToString
, and instead usecore::result::Result
andalloc::string::ToString
?The text was updated successfully, but these errors were encountered: