Prepare dht for publishing

This commit is contained in:
Igor Katson 2023-11-15 13:56:25 +00:00
parent c0d608bd35
commit 22eb0fca57
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
5 changed files with 29 additions and 29 deletions

View file

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

View file

@ -1,7 +1,7 @@
use std::{str::FromStr, time::Duration};
use anyhow::Context;
use dht::{Dht, Id20};
use librqbit_dht::{Dht, Id20};
use log::info;
use tokio_stream::StreamExt;

View file

@ -21,7 +21,7 @@ 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", 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"}
dht = {path = "../dht", package="librqbit-dht", version="2.2.1"}
tokio = {version = "1", features = ["macros", "rt-multi-thread"]}
axum = {version = "0.6"}

View file

@ -15,7 +15,7 @@ rust-tls = ["librqbit/rust-tls"]
[dependencies]
librqbit = {path="../librqbit", default-features=false}
dht = {path="../dht"}
dht = {path="../dht", package="librqbit-dht", version="2.2.1"}
tokio = {version = "1", features = ["macros", "rt-multi-thread"]}
anyhow = "1"
clap = {version = "4", features = ["derive"]}