Skip to content

Commit

Permalink
bump version to 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
hozan23 committed Jun 22, 2024
1 parent eed5fdb commit b95bf6c
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 15 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ members = ["core", "net", "p2p", "jsonrpc"]

[workspace.package]
description = "A library for building p2p, decentralized, and collaborative software"
version = "0.1.3"
version = "0.1.4"
edition = "2021"
homepage = "https://karyontech.net"
repository = "https://github.com/karyontech/karyon"
Expand Down
6 changes: 3 additions & 3 deletions jsonrpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ tokio = [
]

[dependencies]
karyon_core = { version = "0.1.3", path = "../core", default-features = false }
karyon_net = { version = "0.1.3", path = "../net", default-features = false }
karyon_core = { version = "0.1.4", path = "../core", default-features = false }
karyon_net = { version = "0.1.4", path = "../net", default-features = false }

karyon_jsonrpc_macro = { version = "0.1.3", path = "jsonrpc_macro", default-features = false }
karyon_jsonrpc_macro = { version = "0.1.4", path = "jsonrpc_macro", default-features = false }

log = "0.4.21"
rand = "0.8.5"
Expand Down
4 changes: 2 additions & 2 deletions jsonrpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ use serde_json::Value;
use smol::stream::StreamExt;

use karyon_jsonrpc::{
RPCError, Server, Client, rpc_impl, rpc_pubsub_impl, message::SubscriptionID,
Channel
RPCError, Server, Client, rpc_impl, rpc_pubsub_impl, SubscriptionID, Channel
};

struct HelloWorld {}
Expand Down Expand Up @@ -126,6 +125,7 @@ async {
})
.detach();

// Unsubscribe after 5 seconds
smol::Timer::after(std::time::Duration::from_secs(5)).await;

client
Expand Down
4 changes: 2 additions & 2 deletions net/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ tokio = [
serde = ["dep:serde"]

[dependencies]
karyon_core = { version = "0.1.3", path = "../core", default-features = false }
karyon_async_rustls = { version = "0.1.3", path = "./async_rustls", default-features = false, optional = true }
karyon_core = { version = "0.1.4", path = "../core", default-features = false }
karyon_async_rustls = { version = "0.1.4", path = "./async_rustls", default-features = false, optional = true }

# utils
log = "0.4.21"
Expand Down
1 change: 0 additions & 1 deletion net/async_rustls/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ pub use futures_rustls::{rustls, TlsAcceptor, TlsConnector, TlsStream};

#[cfg(feature = "tokio")]
pub use tokio_rustls::{rustls, TlsAcceptor, TlsConnector, TlsStream};

0 comments on commit b95bf6c

Please sign in to comment.