diff --git a/Cargo.lock b/Cargo.lock index ccc2142..b5c04f3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -374,7 +374,7 @@ dependencies = [ "indexmap", "librqbit-bencode", "librqbit-clone-to-owned", - "librqbit_core", + "librqbit-core", "log", "parking_lot", "pretty_env_logger", @@ -896,8 +896,8 @@ dependencies = [ "librqbit-bencode", "librqbit-buffers", "librqbit-clone-to-owned", + "librqbit-core", "librqbit-sha1-wrapper", - "librqbit_core", "log", "openssl", "parking_lot", @@ -942,17 +942,8 @@ name = "librqbit-clone-to-owned" version = "2.2.1" [[package]] -name = "librqbit-sha1-wrapper" +name = "librqbit-core" version = "2.2.1" -dependencies = [ - "crypto-hash", - "openssl", - "sha1", -] - -[[package]] -name = "librqbit_core" -version = "0.1.0" dependencies = [ "anyhow", "hex 0.4.3", @@ -967,6 +958,15 @@ dependencies = [ "uuid", ] +[[package]] +name = "librqbit-sha1-wrapper" +version = "2.2.1" +dependencies = [ + "crypto-hash", + "openssl", + "sha1", +] + [[package]] name = "linux-raw-sys" version = "0.3.8" @@ -1242,7 +1242,7 @@ dependencies = [ "librqbit-bencode", "librqbit-buffers", "librqbit-clone-to-owned", - "librqbit_core", + "librqbit-core", "serde", ] diff --git a/crates/dht/Cargo.toml b/crates/dht/Cargo.toml index ca4004f..7047db5 100644 --- a/crates/dht/Cargo.toml +++ b/crates/dht/Cargo.toml @@ -22,6 +22,6 @@ indexmap = "1.7" directories = "4" 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", version = "2.2.1"} [dev-dependencies] diff --git a/crates/librqbit/Cargo.toml b/crates/librqbit/Cargo.toml index db96420..fbefd8d 100644 --- a/crates/librqbit/Cargo.toml +++ b/crates/librqbit/Cargo.toml @@ -17,7 +17,7 @@ rust-tls = ["reqwest/rustls-tls"] [dependencies] bencode = {path = "../bencode", default-features=false, package="librqbit-bencode", version="2.2.1"} buffers = {path = "../buffers", package="librqbit-buffers", version = "2.2.1"} -librqbit_core = {path = "../librqbit_core"} +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"} sha1w = {path = "../sha1w", default-features=false, package="librqbit-sha1-wrapper", version="2.2.1"} diff --git a/crates/librqbit_core/Cargo.toml b/crates/librqbit_core/Cargo.toml index b8bef62..dbd48b3 100644 --- a/crates/librqbit_core/Cargo.toml +++ b/crates/librqbit_core/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "librqbit_core" -version = "0.1.0" +name = "librqbit-core" +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/peer_binary_protocol/Cargo.toml b/crates/peer_binary_protocol/Cargo.toml index c9c4f6d..e03e20f 100644 --- a/crates/peer_binary_protocol/Cargo.toml +++ b/crates/peer_binary_protocol/Cargo.toml @@ -12,6 +12,6 @@ byteorder = "1" buffers = {path="../buffers", package="librqbit-buffers", version = "2.2.1"} bencode = {path = "../bencode", default-features=false, package="librqbit-bencode", 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", version = "2.2.1"} bitvec = "1" anyhow = "1" \ No newline at end of file