From d1c816660c0583db33d160e2ef3e980bef0d5a85 Mon Sep 17 00:00:00 2001 From: hozan23 Date: Mon, 27 May 2024 00:59:23 +0200 Subject: p2p: WIP rpc server implementation for the p2p monitor --- p2p/Cargo.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'p2p/Cargo.toml') diff --git a/p2p/Cargo.toml b/p2p/Cargo.toml index fe46953..9dd43d5 100644 --- a/p2p/Cargo.toml +++ b/p2p/Cargo.toml @@ -13,8 +13,9 @@ authors.workspace = true [features] default = ["smol"] -smol = ["karyon_core/smol", "karyon_net/smol", "dep:futures-rustls"] -tokio = ["karyon_core/tokio", "karyon_net/tokio", "dep:tokio-rustls"] +smol = ["karyon_core/smol", "karyon_net/smol", "futures-rustls"] +tokio = ["karyon_core/tokio", "karyon_net/tokio", "tokio-rustls"] +serde = ["dep:serde", "karyon_net/serde"] [dependencies] karyon_core = { workspace = true, features = [ @@ -48,6 +49,10 @@ futures-rustls = { version = "0.25.1", features = [ ], optional = true } tokio-rustls = { version = "0.26.0", features = ["aws-lc-rs"], optional = true } rustls-pki-types = "1.7.0" + +# serde +serde = { version = "1.0.197", features = ["derive"], optional = true } + parking_lot = "0.12.2" [dev-dependencies] -- cgit v1.2.3