influxdata / pbjson

Auto-generate serde implementations for prost types
MIT License
89 stars 43 forks source link

`no_std` + `alloc` support #135

Open tony-iqlusion opened 2 months ago

tony-iqlusion commented 2 months ago

Would it be possible to add an option for the generated code to avoid referencing std and imports that are only in the prelude when std is linked, e.g. std::result::Result and ToString, and instead use e.g. core::result::Result and alloc::string::ToString?

tony-iqlusion commented 2 months ago

Here's a fork that already supports this /cc @romac

https://github.com/informalsystems/pbjson

Luctins commented 2 months ago

Bump.

Any update on this?