Change package name to du-dust

The binary is still called dust. Sadly dust was taken on crates.io.
This change should allow us to send this crate to crates.io
This commit is contained in:
andy.boot
2018-04-18 13:31:32 +01:00
parent 35aef4c837
commit 0c5b08e1d2
5 changed files with 25 additions and 7 deletions
Generated
+2 -2
View File
@@ -120,8 +120,8 @@ version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "dust"
version = "0.2.3"
name = "du-dust"
version = "0.2.4"
dependencies = [
"ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
"assert_cli 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)",
+18 -2
View File
@@ -1,8 +1,24 @@
[package]
name = "dust"
version = "0.2.3"
name = "du-dust"
description = "A more intuitive version of du"
version = "0.2.4"
authors = ["bootandy <bootandy@gmail.com>", "nebkor <code@ardent.nebcorp.com>"]
documentation = "https://github.com/bootandy/dust"
homepage = "https://github.com/bootandy/dust"
repository = "https://github.com/bootandy/dust"
keywords = ["du", "command-line", "disk", "disk-usage"]
categories = ["command-line-utilities"]
license = "Apache-2.0"
[badges]
travis-ci = {repository = "https://travis-ci.org/bootandy/dust"}
[[bin]]
name = "dust"
path = "src/main.rs"
[dependencies]
ansi_term = "0.11"
clap = "2.31"
+2 -1
View File
@@ -1,7 +1,8 @@
extern crate ansi_term;
use self::ansi_term::Colour::Fixed;
use dust::Node;
use lib::Node;
static UNITS: [char; 4] = ['T', 'G', 'M', 'K'];
+2 -1
View File
@@ -1,14 +1,15 @@
#[macro_use]
extern crate clap;
extern crate assert_cli;
extern crate dust;
use self::display::draw_it;
use clap::{App, AppSettings, Arg};
use utils::{find_big_ones, get_dir_tree};
mod display;
mod utils;
mod lib;
static DEFAULT_NUMBER_OF_LINES: &'static str = "15";
+1 -1
View File
@@ -2,9 +2,9 @@ use std::collections::HashSet;
use std::fs;
use dust::Node;
use std::path::Path;
use lib::Node;
mod platform;
use self::platform::*;