n0-computer / n0-computer/irpc
The `rpc_requests` macro requires the `tracing` library to be installed
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 57
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Trying to use irpc::rpc_requests on a struct in a crate without the tracing macro will make it fail.
I think it should be possible to have tracing as a dependency in irpc-derive and then the macro should work? (Ideally we also use some macro hygene like using ::tracing, etc.)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the irpc::rpc_requests macro and the irpc-derive dependency declaration, then inspect how the generated expansion resolves tracing. Reproduce it in a consumer crate without tracing and add a regression test; done means the macro compiles there while preserving tracing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api, backend-api-design
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100