From c0d608bd359c34ea45edbe49eef0d89b58c9fe62 Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Wed, 15 Nov 2023 13:54:19 +0000 Subject: [PATCH] Prepare peer-binary-protocol for publishing --- Cargo.lock | 32 +++++++++++++------------- crates/librqbit/Cargo.toml | 2 +- crates/peer_binary_protocol/Cargo.toml | 4 ++-- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b5c04f3..ec8aed2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -897,11 +897,11 @@ dependencies = [ "librqbit-buffers", "librqbit-clone-to-owned", "librqbit-core", + "librqbit-peer-protocol", "librqbit-sha1-wrapper", "log", "openssl", "parking_lot", - "peer_binary_protocol", "pretty_env_logger", "rand", "regex", @@ -958,6 +958,21 @@ dependencies = [ "uuid", ] +[[package]] +name = "librqbit-peer-protocol" +version = "2.2.1" +dependencies = [ + "anyhow", + "bincode", + "bitvec", + "byteorder", + "librqbit-bencode", + "librqbit-buffers", + "librqbit-clone-to-owned", + "librqbit-core", + "serde", +] + [[package]] name = "librqbit-sha1-wrapper" version = "2.2.1" @@ -1231,21 +1246,6 @@ dependencies = [ "regex", ] -[[package]] -name = "peer_binary_protocol" -version = "0.1.0" -dependencies = [ - "anyhow", - "bincode", - "bitvec", - "byteorder", - "librqbit-bencode", - "librqbit-buffers", - "librqbit-clone-to-owned", - "librqbit-core", - "serde", -] - [[package]] name = "percent-encoding" version = "2.3.0" diff --git a/crates/librqbit/Cargo.toml b/crates/librqbit/Cargo.toml index fbefd8d..23d44ca 100644 --- a/crates/librqbit/Cargo.toml +++ b/crates/librqbit/Cargo.toml @@ -19,7 +19,7 @@ bencode = {path = "../bencode", default-features=false, package="librqbit-bencod buffers = {path = "../buffers", package="librqbit-buffers", version = "2.2.1"} librqbit-core = {path = "../librqbit_core", version = "2.2.1"} clone_to_owned = {path = "../clone_to_owned", package="librqbit-clone-to-owned", version = "2.2.1"} -peer_binary_protocol = {path = "../peer_binary_protocol"} +peer_binary_protocol = {path = "../peer_binary_protocol", package="librqbit-peer-protocol", version = "2.2.1"} sha1w = {path = "../sha1w", default-features=false, package="librqbit-sha1-wrapper", version="2.2.1"} dht = {path = "../dht"} diff --git a/crates/peer_binary_protocol/Cargo.toml b/crates/peer_binary_protocol/Cargo.toml index e03e20f..23ee27c 100644 --- a/crates/peer_binary_protocol/Cargo.toml +++ b/crates/peer_binary_protocol/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "peer_binary_protocol" -version = "0.1.0" +name = "librqbit-peer-protocol" +version = "2.2.1" edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html