Prepare buffers for publishing

This commit is contained in:
Igor Katson 2023-11-15 13:48:50 +00:00
parent b1e2024760
commit e770aade12
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
6 changed files with 18 additions and 18 deletions

24
Cargo.lock generated
View file

@ -184,7 +184,7 @@ name = "bencode"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"buffers", "librqbit-buffers",
"librqbit-clone-to-owned", "librqbit-clone-to-owned",
"serde", "serde",
"sha1w", "sha1w",
@ -232,14 +232,6 @@ dependencies = [
"generic-array 0.14.7", "generic-array 0.14.7",
] ]
[[package]]
name = "buffers"
version = "0.1.0"
dependencies = [
"librqbit-clone-to-owned",
"serde",
]
[[package]] [[package]]
name = "bumpalo" name = "bumpalo"
version = "3.13.0" version = "3.13.0"
@ -907,13 +899,13 @@ dependencies = [
"bencode", "bencode",
"bincode", "bincode",
"bitvec", "bitvec",
"buffers",
"byteorder", "byteorder",
"crypto-hash", "crypto-hash",
"dht", "dht",
"futures", "futures",
"hex 0.4.3", "hex 0.4.3",
"http", "http",
"librqbit-buffers",
"librqbit-clone-to-owned", "librqbit-clone-to-owned",
"librqbit_core", "librqbit_core",
"log", "log",
@ -937,6 +929,14 @@ dependencies = [
"uuid", "uuid",
] ]
[[package]]
name = "librqbit-buffers"
version = "2.2.1"
dependencies = [
"librqbit-clone-to-owned",
"serde",
]
[[package]] [[package]]
name = "librqbit-clone-to-owned" name = "librqbit-clone-to-owned"
version = "2.2.1" version = "2.2.1"
@ -947,9 +947,9 @@ version = "0.1.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bencode", "bencode",
"buffers",
"hex 0.4.3", "hex 0.4.3",
"itertools", "itertools",
"librqbit-buffers",
"librqbit-clone-to-owned", "librqbit-clone-to-owned",
"log", "log",
"parking_lot", "parking_lot",
@ -1230,8 +1230,8 @@ dependencies = [
"bencode", "bencode",
"bincode", "bincode",
"bitvec", "bitvec",
"buffers",
"byteorder", "byteorder",
"librqbit-buffers",
"librqbit-clone-to-owned", "librqbit-clone-to-owned",
"librqbit_core", "librqbit_core",
"serde", "serde",

View file

@ -13,7 +13,7 @@ sha1-rust = ["sha1w/sha1-rust"]
[dependencies] [dependencies]
serde = {version = "1", features=["derive"]} 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"} clone_to_owned = {path = "../clone_to_owned", package="librqbit-clone-to-owned", version = "2.2.1"}
anyhow = "1" anyhow = "1"
sha1w = {path="../sha1w", default-features=false} sha1w = {path="../sha1w", default-features=false}

View file

@ -1,6 +1,6 @@
[package] [package]
name = "buffers" name = "librqbit-buffers"
version = "0.1.0" version = "2.2.1"
edition = "2018" edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -16,7 +16,7 @@ rust-tls = ["reqwest/rustls-tls"]
[dependencies] [dependencies]
bencode = {path = "../bencode", default-features=false} bencode = {path = "../bencode", default-features=false}
buffers = {path = "../buffers"} buffers = {path = "../buffers", package="librqbit-buffers", version = "2.2.1"}
librqbit_core = {path = "../librqbit_core"} librqbit_core = {path = "../librqbit_core"}
clone_to_owned = {path = "../clone_to_owned", package="librqbit-clone-to-owned", 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"}

View file

@ -13,7 +13,7 @@ uuid = {version = "1", features = ["v4"]}
log = "0.4" log = "0.4"
parking_lot = "0.12" parking_lot = "0.12"
serde = {version = "1", features=["derive"]} serde = {version = "1", features=["derive"]}
buffers = {path="../buffers"} buffers = {path="../buffers", package="librqbit-buffers", version = "2.2.1"}
bencode = {path = "../bencode", default-features=false} bencode = {path = "../bencode", default-features=false}
clone_to_owned = {path="../clone_to_owned", package="librqbit-clone-to-owned", version = "2.2.1"} clone_to_owned = {path="../clone_to_owned", package="librqbit-clone-to-owned", version = "2.2.1"}
itertools = "0.11.0" itertools = "0.11.0"

View file

@ -9,7 +9,7 @@ edition = "2018"
serde = {version = "1", features = ["derive"]} serde = {version = "1", features = ["derive"]}
bincode = "1" bincode = "1"
byteorder = "1" byteorder = "1"
buffers = {path="../buffers"} buffers = {path="../buffers", package="librqbit-buffers", version = "2.2.1"}
bencode = {path = "../bencode", default-features=false} bencode = {path = "../bencode", default-features=false}
clone_to_owned = {path="../clone_to_owned", package="librqbit-clone-to-owned", version = "2.2.1"} clone_to_owned = {path="../clone_to_owned", package="librqbit-clone-to-owned", version = "2.2.1"}
librqbit_core = {path="../librqbit_core"} librqbit_core = {path="../librqbit_core"}