diff options
author | hozan23 <hozan23@karyontech.net> | 2024-05-19 14:03:39 +0200 |
---|---|---|
committer | hozan23 <hozan23@karyontech.net> | 2024-05-19 14:03:39 +0200 |
commit | 20f5bac85fb013ff02c74a8f8edc48ac2c0a4ec9 (patch) | |
tree | f32526e93b72099ebde1ef77081838b8339ef485 /jsonrpc | |
parent | 0992071a7f1a36424bcfaf1fbc84541ea041df1a (diff) |
update READMEs
Diffstat (limited to 'jsonrpc')
-rw-r--r-- | jsonrpc/README.md | 2 | ||||
-rw-r--r-- | jsonrpc/src/lib.rs | 6 |
2 files changed, 4 insertions, 4 deletions
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. |