From ca2a5f8bbb6983d9555abd10eaaf86950b794957 Mon Sep 17 00:00:00 2001 From: hozan23 Date: Thu, 23 Nov 2023 00:13:27 +0300 Subject: update README.md --- README.md | 15 ++++++--------- core/src/lib.rs | 2 +- jsonrpc/src/server.rs | 2 +- net/src/connection.rs | 4 ++-- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 185e066..3343f85 100644 --- a/README.md +++ b/README.md @@ -31,15 +31,13 @@ including TLS implementation. You can check the ## Docs -Online documentation for the main crates: +Online documentation for the main crates: +[karyons_p2p](https://karyons.github.io/karyons/karyons_p2p), +[karyons_jsonrpc](https://karyons.github.io/karyons/karyons_jsonrpc) -- [karyons_p2p](https://karyons.github.io/karyons/karyons_p2p) -- [karyons_jsonrpc](https://karyons.github.io/karyons/karyons_jsonrpc) - -For the internal crates: - -- [karyons_core](https://karyons.github.io/karyons/karyons_core) -- [karyons_net](https://karyons.github.io/karyons/karyons_net) +For the internal crates: +[karyons_core](https://karyons.github.io/karyons/karyons_core), +[karyons_net](https://karyons.github.io/karyons/karyons_net) ## Thanks @@ -56,4 +54,3 @@ Feel free to open a pull request or an [issue](https://github.com/karyons/karyon All the code in this repository is licensed under the GNU General Public License, version 3 (GPL-3.0). You can find a copy of the license in the [LICENSE](./LICENSE) file. - diff --git a/core/src/lib.rs b/core/src/lib.rs index 6c40909..67e6610 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -8,7 +8,7 @@ pub mod async_utils; /// Represents karyons's Core Error. pub mod error; -/// [`event::EventSys`] Implementation +/// [`event::EventSys`] Implementation pub mod event; /// A simple publish-subscribe system [`Read More`](./pubsub/struct.Publisher.html) diff --git a/jsonrpc/src/server.rs b/jsonrpc/src/server.rs index 213fa41..5b9b799 100644 --- a/jsonrpc/src/server.rs +++ b/jsonrpc/src/server.rs @@ -16,7 +16,7 @@ use crate::{ Error, Result, JSONRPC_VERSION, }; -/// RPC server config +/// RPC server config #[derive(Default)] pub struct ServerConfig { codec_config: CodecConfig, diff --git a/net/src/connection.rs b/net/src/connection.rs index 950f171..d8ec0a3 100644 --- a/net/src/connection.rs +++ b/net/src/connection.rs @@ -9,8 +9,8 @@ pub type Conn = Box; /// Connection is a generic network connection interface for /// [`udp::UdpConn`], [`tcp::TcpConn`], and [`unix::UnixConn`]. /// -/// If you are familiar with the Go language, this is similar to the -/// [Conn](https://pkg.go.dev/net#Conn) interface +/// If you are familiar with the Go language, this is similar to the +/// [Conn](https://pkg.go.dev/net#Conn) interface #[async_trait] pub trait Connection: Send + Sync { /// Returns the remote peer endpoint of this connection -- cgit v1.2.3