Skip to content

Commit

Permalink
update jsonrpc-utils and remove missing_docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Oct 8, 2023
1 parent b2d216e commit 9bdc3de
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 16 deletions.
8 changes: 4 additions & 4 deletions 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 rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ckb-app-config = { path = "../util/app-config", version = "= 0.112.0-pre" }
ckb-constant = { path = "../util/constant", version = "= 0.112.0-pre" }
jsonrpc-core = "18.0"
serde_json = "1.0"
jsonrpc-utils = { version = "0.2.1", features = ["server", "macros", "axum"] }
jsonrpc-utils = { version = "0.2.2", features = ["server", "macros", "axum"] }
ckb-jsonrpc-types = { path = "../util/jsonrpc-types", version = "= 0.112.0-pre" }
ckb-verification = { path = "../verification", version = "= 0.112.0-pre" }
ckb-verification-traits = { path = "../verification/traits", version = "= 0.112.0-pre" }
Expand Down
1 change: 0 additions & 1 deletion rpc/src/module/alert.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(missing_docs)]
use crate::error::RPCError;
use async_trait::async_trait;
use ckb_jsonrpc_types::Alert;
Expand Down
1 change: 0 additions & 1 deletion rpc/src/module/chain.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(missing_docs)]
use crate::error::RPCError;
use crate::util::FeeRateCollector;
use async_trait::async_trait;
Expand Down
1 change: 0 additions & 1 deletion rpc/src/module/debug.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(missing_docs)]
use async_trait::async_trait;
use ckb_jsonrpc_types::{ExtraLoggerConfig, MainLoggerConfig};
use ckb_logger_service::Logger;
Expand Down
1 change: 0 additions & 1 deletion rpc/src/module/experiment.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(missing_docs)]
use crate::error::RPCError;
use crate::module::chain::CyclesEstimator;
use async_trait::async_trait;
Expand Down
1 change: 0 additions & 1 deletion rpc/src/module/indexer.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(missing_docs)]
use crate::error::RPCError;
use async_trait::async_trait;
use ckb_indexer::IndexerHandle;
Expand Down
1 change: 0 additions & 1 deletion rpc/src/module/miner.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(missing_docs)]
use crate::error::RPCError;
use async_trait::async_trait;
use ckb_chain::chain::ChainController;
Expand Down
1 change: 0 additions & 1 deletion rpc/src/module/net.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(missing_docs)]
use crate::error::RPCError;
use async_trait::async_trait;
use ckb_jsonrpc_types::{
Expand Down
1 change: 0 additions & 1 deletion rpc/src/module/pool.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(missing_docs)]
use crate::error::RPCError;
use async_trait::async_trait;
use ckb_chain_spec::consensus::Consensus;
Expand Down
1 change: 0 additions & 1 deletion rpc/src/module/stats.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(missing_docs)]
use async_trait::async_trait;
use ckb_jsonrpc_types::{AlertMessage, ChainInfo, DeploymentInfo, DeploymentPos, DeploymentsInfo};
use ckb_network_alert::notifier::Notifier as AlertNotifier;
Expand Down
1 change: 0 additions & 1 deletion rpc/src/module/subscription.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(missing_docs)]
use async_trait::async_trait;
use ckb_async_runtime::Handle;
use ckb_jsonrpc_types::Topic;
Expand Down
1 change: 0 additions & 1 deletion rpc/src/module/test.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(missing_docs)]
use crate::error::RPCError;
use async_trait::async_trait;
use ckb_chain::chain::ChainController;
Expand Down

0 comments on commit 9bdc3de

Please sign in to comment.