diff options
Diffstat (limited to 'jsonrpc')
-rw-r--r-- | jsonrpc/Cargo.toml | 1 | ||||
-rw-r--r-- | jsonrpc/src/server.rs | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/jsonrpc/Cargo.toml b/jsonrpc/Cargo.toml index 5edc317..73ae275 100644 --- a/jsonrpc/Cargo.toml +++ b/jsonrpc/Cargo.toml @@ -2,6 +2,7 @@ name = "karyon_jsonrpc" version.workspace = true edition.workspace = true +autoexamples = false [dependencies] karyon_core.workspace = true diff --git a/jsonrpc/src/server.rs b/jsonrpc/src/server.rs index b090d5c..ac1673d 100644 --- a/jsonrpc/src/server.rs +++ b/jsonrpc/src/server.rs @@ -3,10 +3,7 @@ use std::{collections::HashMap, sync::Arc}; use log::{debug, error, warn}; use smol::lock::RwLock; -use karyon_core::{ - async_util::{TaskGroup, TaskResult}, - Executor, -}; +use karyon_core::async_util::{Executor, TaskGroup, TaskResult}; use karyon_net::{Conn, Listener, ToListener}; |