You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0433]: failed to resolve: could not find `core` in `jsonrpsee`
--> rpc/src/context.rs:26:5
|
26 | core::{middleware::Middleware, Error as JsonrpseeError},
| ^^^^ could not find `core` in `jsonrpsee`
error[E0432]: unresolved import `jsonrpsee::core`
--> rpc/src/context.rs:26:5
|
26 | core::{middleware::Middleware, Error as JsonrpseeError},
| ^^^^ could not find `core` in `jsonrpsee`
I double-checked it with a dummy crate that has a single dependency:
jsonrpsee = { version = "0.12", features = ["http-server"] }
and it fails to compile with the following import:
use jsonrpsee::core::middleware::Middleware;
While it does work with the server feature instead, I'd expect Middleware to be available for HTTP servers as well.
The text was updated successfully, but these errors were encountered:
Discovered in https://github.com/AleoHQ/snarkOS/pull/1763, which caused the following errors:
I double-checked it with a dummy crate that has a single dependency:
and it fails to compile with the following import:
While it does work with the
server
feature instead, I'd expectMiddleware
to be available for HTTP servers as well.The text was updated successfully, but these errors were encountered: