Skip to content

Commit

Permalink
Merge pull request #1960 from scpwiki/dependabot/cargo/deepwell/jsonr…
Browse files Browse the repository at this point in the history
…psee-0.23.1

Bump jsonrpsee from 0.22.5 to 0.23.1 in /deepwell
  • Loading branch information
emmiegit authored Jun 28, 2024
2 parents 6982826 + c674f4b commit ec44c3c
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 71 deletions.
135 changes: 66 additions & 69 deletions deepwell/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deepwell/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ futures = { version = "0.3", features = ["async-await"], default-features = fals
hex = { version = "0.4", features = ["serde"] }
hostname = "0.4"
intl-memoizer = "0.5"
jsonrpsee = { version = "0.22", features = ["macros", "server"] }
jsonrpsee = { version = "0.23", features = ["macros", "server"] }
log = "0.4"
notify = { version = "6", optional = true }
once_cell = "1"
Expand Down
2 changes: 1 addition & 1 deletion deepwell/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ async fn build_module(app_state: ServerState) -> anyhow::Result<RpcModule<Server
//
// Contains a wrapper around each to set up state, convert error types,
// and produce a transaction used in ServiceContext, passed in.
module.register_async_method($name, |params, state| async move {
module.register_async_method($name, |params, state, _extensions| async move {
// NOTE: We have our own Arc because we need to share it in some places
// before setting up, but RpcModule insists on adding its own.
// So we need to "unwrap it" before each method invocation.
Expand Down

0 comments on commit ec44c3c

Please sign in to comment.