chore: rename crate name to dragonfly-client (#55)

Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
Gaius 2023-07-18 14:19:40 +08:00 committed by GitHub
parent e035f62cd5
commit 000de0ef2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 15 deletions

View File

@ -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"

View File

@ -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};

View File

@ -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;

View File

@ -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;