Skip to content

Conversation

@ivanlele
Copy link
Contributor

@ivanlele ivanlele commented Jan 5, 2026

One of the PRs in a series addressing issue #28.

This PR introduces a daemon module that exposes a JSON-RPC handler, along with a new binary to start it. To avoid adding a new set of dependencies into the existing binary, a separate daemon feature flag was added.

The daemon can run either as an independent service or be embedded as a library and spawned as a separate thread within another process.

@ivanlele
Copy link
Contributor Author

ivanlele commented Jan 5, 2026

At first I planned to use https://crates.io/crates/jsonrpc, but it turned out to be client-side only. Extending it for server use would require adding several missing features. Other crates on crates.io have similar limitations, or are unnecessarily verbose.

Given that the JSON-RPC spec is quite small, I decided to implement a lightweight solution tailored to both our client and server use cases.

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