mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
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:
Generated
+2
-2
@@ -120,8 +120,8 @@ version = "0.4.2"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "dust"
|
name = "du-dust"
|
||||||
version = "0.2.3"
|
version = "0.2.4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"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)",
|
"assert_cli 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|||||||
+18
-2
@@ -1,8 +1,24 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "dust"
|
name = "du-dust"
|
||||||
version = "0.2.3"
|
description = "A more intuitive version of du"
|
||||||
|
version = "0.2.4"
|
||||||
authors = ["bootandy <bootandy@gmail.com>", "nebkor <code@ardent.nebcorp.com>"]
|
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]
|
[dependencies]
|
||||||
ansi_term = "0.11"
|
ansi_term = "0.11"
|
||||||
clap = "2.31"
|
clap = "2.31"
|
||||||
|
|||||||
+2
-1
@@ -1,7 +1,8 @@
|
|||||||
extern crate ansi_term;
|
extern crate ansi_term;
|
||||||
|
|
||||||
use self::ansi_term::Colour::Fixed;
|
use self::ansi_term::Colour::Fixed;
|
||||||
use dust::Node;
|
|
||||||
|
use lib::Node;
|
||||||
|
|
||||||
static UNITS: [char; 4] = ['T', 'G', 'M', 'K'];
|
static UNITS: [char; 4] = ['T', 'G', 'M', 'K'];
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -1,14 +1,15 @@
|
|||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate clap;
|
extern crate clap;
|
||||||
extern crate assert_cli;
|
extern crate assert_cli;
|
||||||
extern crate dust;
|
|
||||||
|
|
||||||
use self::display::draw_it;
|
use self::display::draw_it;
|
||||||
use clap::{App, AppSettings, Arg};
|
use clap::{App, AppSettings, Arg};
|
||||||
use utils::{find_big_ones, get_dir_tree};
|
use utils::{find_big_ones, get_dir_tree};
|
||||||
|
|
||||||
|
|
||||||
mod display;
|
mod display;
|
||||||
mod utils;
|
mod utils;
|
||||||
|
mod lib;
|
||||||
|
|
||||||
static DEFAULT_NUMBER_OF_LINES: &'static str = "15";
|
static DEFAULT_NUMBER_OF_LINES: &'static str = "15";
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -2,9 +2,9 @@ use std::collections::HashSet;
|
|||||||
|
|
||||||
use std::fs;
|
use std::fs;
|
||||||
|
|
||||||
use dust::Node;
|
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
||||||
|
use lib::Node;
|
||||||
mod platform;
|
mod platform;
|
||||||
use self::platform::*;
|
use self::platform::*;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user