chore: rename crate name to dragonfly-client (#55)
Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
parent
e035f62cd5
commit
000de0ef2b
|
|
@ -1,11 +1,11 @@
|
||||||
[package]
|
[package]
|
||||||
name = "client"
|
name = "dragonfly-client"
|
||||||
version = "1.0.0"
|
version = "0.1.0"
|
||||||
authors = ["The Dragonfly Developers"]
|
authors = ["The Dragonfly Developers"]
|
||||||
homepage = "https://d7y.io/"
|
homepage = "https://d7y.io/"
|
||||||
repository = "https://github.com/dragonflyoss/client.git"
|
repository = "https://github.com/dragonflyoss/client.git"
|
||||||
description = "Dragonfly client written in Rust"
|
description = "Dragonfly client written in Rust"
|
||||||
keywords = ["dragonfly", "d7y", "client", "dfdaemon", "dfget", "dfstore", "p2p", "container", "docker-image"]
|
keywords = ["dragonfly", "dragonfly-client", "p2p", "container", "docker-image"]
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,12 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use clap::Parser;
|
use clap::Parser;
|
||||||
use client::config::dfdaemon;
|
use dragonfly_client::config::dfdaemon;
|
||||||
use client::health::Health;
|
use dragonfly_client::health::Health;
|
||||||
use client::metrics::Metrics;
|
use dragonfly_client::metrics::Metrics;
|
||||||
use client::shutdown;
|
use dragonfly_client::shutdown;
|
||||||
use client::storage::Storage;
|
use dragonfly_client::storage::Storage;
|
||||||
use client::tracing::init_tracing;
|
use dragonfly_client::tracing::init_tracing;
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use tokio::sync::{broadcast, mpsc};
|
use tokio::sync::{broadcast, mpsc};
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use clap::Parser;
|
use clap::Parser;
|
||||||
use client::config::dfdaemon;
|
use dragonfly_client::config::dfdaemon;
|
||||||
use client::config::dfget;
|
use dragonfly_client::config::dfget;
|
||||||
use client::tracing::init_tracing;
|
use dragonfly_client::tracing::init_tracing;
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
use tracing::Level;
|
use tracing::Level;
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use clap::{Parser, Subcommand};
|
use clap::{Parser, Subcommand};
|
||||||
use client::config::dfdaemon;
|
use dragonfly_client::config::dfdaemon;
|
||||||
use client::config::dfstore;
|
use dragonfly_client::config::dfstore;
|
||||||
use client::tracing::init_tracing;
|
use dragonfly_client::tracing::init_tracing;
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use tracing::Level;
|
use tracing::Level;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue