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
Currently in the wrapper/facade crate jsonrpsee it's not possible to just import some minor deps for the client traits. If I want to something like:
wrapper/facade crate jsonrpsee
use jsonrpsee::{core::RpcResult, proc_macros::rpc}; #[rpc(client)] pub trait Api { #[method(name = "call")] fn call(&self, x: usize) -> RpcResult<()>; }
When trying to do that one must either enable async-client feature which brings a few needless deps including tokio
async-client
It's also possible though to import jsonrpsee-core/client manually to workaround that but we should probably expose a feature for that.
jsonrpsee-core/client
The text was updated successfully, but these errors were encountered:
Closed by #849
Sorry, something went wrong.
No branches or pull requests
Currently in the
wrapper/facade crate jsonrpsee
it's not possible to just import some minor deps for the client traits.If I want to something like:
When trying to do that one must either enable
async-client
feature which brings a few needless deps including tokioIt's also possible though to import
jsonrpsee-core/client
manually to workaround that but we should probably expose a feature for that.The text was updated successfully, but these errors were encountered: