influxdata / influxdata/pbjson

`no_std` + `alloc` support

Open
#135 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
116
Forks
55
PR merge metrics
No merged PRs in 30d

Description

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`?

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Begin by locating the generator code that emits std::result::Result and ToString, then identify how generation options are configured; done means the new option produces code using core and alloc without std references, with coverage for the option.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.