diff --git a/Cargo.lock b/Cargo.lock index 32e4f2a..ce76324 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -184,7 +184,7 @@ name = "bencode" version = "0.1.0" dependencies = [ "anyhow", - "buffers", + "librqbit-buffers", "librqbit-clone-to-owned", "serde", "sha1w", @@ -232,14 +232,6 @@ dependencies = [ "generic-array 0.14.7", ] -[[package]] -name = "buffers" -version = "0.1.0" -dependencies = [ - "librqbit-clone-to-owned", - "serde", -] - [[package]] name = "bumpalo" version = "3.13.0" @@ -907,13 +899,13 @@ dependencies = [ "bencode", "bincode", "bitvec", - "buffers", "byteorder", "crypto-hash", "dht", "futures", "hex 0.4.3", "http", + "librqbit-buffers", "librqbit-clone-to-owned", "librqbit_core", "log", @@ -937,6 +929,14 @@ dependencies = [ "uuid", ] +[[package]] +name = "librqbit-buffers" +version = "2.2.1" +dependencies = [ + "librqbit-clone-to-owned", + "serde", +] + [[package]] name = "librqbit-clone-to-owned" version = "2.2.1" @@ -947,9 +947,9 @@ version = "0.1.0" dependencies = [ "anyhow", "bencode", - "buffers", "hex 0.4.3", "itertools", + "librqbit-buffers", "librqbit-clone-to-owned", "log", "parking_lot", @@ -1230,8 +1230,8 @@ dependencies = [ "bencode", "bincode", "bitvec", - "buffers", "byteorder", + "librqbit-buffers", "librqbit-clone-to-owned", "librqbit_core", "serde", diff --git a/crates/bencode/Cargo.toml b/crates/bencode/Cargo.toml index 865931c..5dd07fc 100644 --- a/crates/bencode/Cargo.toml +++ b/crates/bencode/Cargo.toml @@ -13,7 +13,7 @@ sha1-rust = ["sha1w/sha1-rust"] [dependencies] serde = {version = "1", features=["derive"]} -buffers = {path = "../buffers"} +buffers = {path = "../buffers", package="librqbit-buffers", version = "2.2.1"} clone_to_owned = {path = "../clone_to_owned", package="librqbit-clone-to-owned", version = "2.2.1"} anyhow = "1" sha1w = {path="../sha1w", default-features=false} \ No newline at end of file diff --git a/crates/buffers/Cargo.toml b/crates/buffers/Cargo.toml index 66e914f..1efd69c 100644 --- a/crates/buffers/Cargo.toml +++ b/crates/buffers/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "buffers" -version = "0.1.0" +name = "librqbit-buffers" +version = "2.2.1" edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/librqbit/Cargo.toml b/crates/librqbit/Cargo.toml index ac663b8..ffb2b51 100644 --- a/crates/librqbit/Cargo.toml +++ b/crates/librqbit/Cargo.toml @@ -16,7 +16,7 @@ rust-tls = ["reqwest/rustls-tls"] [dependencies] bencode = {path = "../bencode", default-features=false} -buffers = {path = "../buffers"} +buffers = {path = "../buffers", package="librqbit-buffers", version = "2.2.1"} librqbit_core = {path = "../librqbit_core"} clone_to_owned = {path = "../clone_to_owned", package="librqbit-clone-to-owned", version = "2.2.1"} peer_binary_protocol = {path = "../peer_binary_protocol"} diff --git a/crates/librqbit_core/Cargo.toml b/crates/librqbit_core/Cargo.toml index 425b199..2dea1e4 100644 --- a/crates/librqbit_core/Cargo.toml +++ b/crates/librqbit_core/Cargo.toml @@ -13,7 +13,7 @@ uuid = {version = "1", features = ["v4"]} log = "0.4" parking_lot = "0.12" serde = {version = "1", features=["derive"]} -buffers = {path="../buffers"} +buffers = {path="../buffers", package="librqbit-buffers", version = "2.2.1"} bencode = {path = "../bencode", default-features=false} clone_to_owned = {path="../clone_to_owned", package="librqbit-clone-to-owned", version = "2.2.1"} itertools = "0.11.0" diff --git a/crates/peer_binary_protocol/Cargo.toml b/crates/peer_binary_protocol/Cargo.toml index fd125be..b501273 100644 --- a/crates/peer_binary_protocol/Cargo.toml +++ b/crates/peer_binary_protocol/Cargo.toml @@ -9,7 +9,7 @@ edition = "2018" serde = {version = "1", features = ["derive"]} bincode = "1" byteorder = "1" -buffers = {path="../buffers"} +buffers = {path="../buffers", package="librqbit-buffers", version = "2.2.1"} bencode = {path = "../bencode", default-features=false} clone_to_owned = {path="../clone_to_owned", package="librqbit-clone-to-owned", version = "2.2.1"} librqbit_core = {path="../librqbit_core"}