From 20f5bac85fb013ff02c74a8f8edc48ac2c0a4ec9 Mon Sep 17 00:00:00 2001 From: hozan23 Date: Sun, 19 May 2024 14:03:39 +0200 Subject: update READMEs --- jsonrpc/README.md | 2 +- jsonrpc/src/lib.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'jsonrpc') diff --git a/jsonrpc/README.md b/jsonrpc/README.md index 98c18e1..ca33370 100644 --- a/jsonrpc/README.md +++ b/jsonrpc/README.md @@ -12,7 +12,7 @@ features: ## Example -``` +```rust use std::sync::Arc; use serde_json::Value; diff --git a/jsonrpc/src/lib.rs b/jsonrpc/src/lib.rs index 1410a62..4ec03cc 100644 --- a/jsonrpc/src/lib.rs +++ b/jsonrpc/src/lib.rs @@ -1,9 +1,9 @@ //! A fast and lightweight async implementation of [JSON-RPC //! 2.0](https://www.jsonrpc.org/specification). -//! -//! features: +//! +//! features: //! - Supports TCP, TLS, WebSocket, and Unix protocols. -//! - Uses smol(async-std) as the async runtime, but also supports tokio via +//! - Uses smol(async-std) as the async runtime, but also supports tokio via //! the `tokio` feature. //! - Allows registration of multiple services (structs) of different types on a //! single server. -- cgit v1.2.3