We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
client feature
I noticed after the refactoring of the core crate and if I want to do:
core crate
use jsonrpsee::{core::RpcResult, proc_macros::rpc}; #[rpc(client, server, namespace = "myapi")] pub trait MyApi { #[method(name = "submitBytes")] async fn submit_bytes(&self, bytes: Vec<u8>) -> RpcResult<()>; }
To get the client traits required then one must enable the client feature which brings in a bunch of dependencies from http-client and ws-client.
client traits
http-client
ws-client
Maybe we could enable "jsonrpsee-core/client" in the macros feature it's really light weight just a few of our own types.
"jsonrpsee-core/client"
The text was updated successfully, but these errors were encountered:
Makes sense to me.
Sorry, something went wrong.
fix(jsonrpsee): feature macro include client types
macro
b97d2f7
Closing #649
macros
fix(jsonrpsee): feature macro include client types (#656)
b098a87
Closed by #656
No branches or pull requests
I noticed after the refactoring of the
core crate
and if I want to do:To get the
client traits
required then one must enable theclient feature
which brings in a bunch of dependencies fromhttp-client
andws-client
.Maybe we could enable
"jsonrpsee-core/client"
in the macros feature it's really light weight just a few of our own types.The text was updated successfully, but these errors were encountered: