mirror of
https://github.com/nachoparker/dutree
synced 2024-05-04 22:36:05 +02:00
Use CARGO_PKG_VERSION
Signed-off-by: nachoparker <nacho@ownyourbits.com>
This commit is contained in:
parent
14ecb1cbfb
commit
44e877d148
|
@ -17,7 +17,7 @@ checksum = "4d25d88fd6b8041580a654f9d0c581a047baee2b3efee13275f2fc392fc75034"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "dutree"
|
name = "dutree"
|
||||||
version = "0.2.16"
|
version = "0.2.18"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"getopts",
|
"getopts",
|
||||||
"regex",
|
"regex",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "dutree"
|
name = "dutree"
|
||||||
version = "0.2.17"
|
version = "0.2.18"
|
||||||
authors = ["nacho <nacho@ownyourbits.com>"]
|
authors = ["nacho <nacho@ownyourbits.com>"]
|
||||||
description = "Command line tool to analyze disk usage"
|
description = "Command line tool to analyze disk usage"
|
||||||
repository = "https://github.com/nachoparker/dutree"
|
repository = "https://github.com/nachoparker/dutree"
|
||||||
|
@ -8,10 +8,11 @@ categories = ["command-line-utilities"]
|
||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
||||||
homepage = "https://ownyourbits.com/2018/03/25/analize-disk-usage-with-dutree/"
|
homepage = "https://ownyourbits.com/2018/03/25/analize-disk-usage-with-dutree/"
|
||||||
exclude = ["test/*"]
|
exclude = ["test/*"]
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "0.2.21"
|
getopts = "0.2.21"
|
||||||
regex = "1"
|
regex = "1.3.9"
|
||||||
signal-hook = "0.1.10"
|
signal-hook = "0.1.10"
|
||||||
terminal_size = "0.1.8"
|
terminal_size = "0.1.8"
|
||||||
unicode-width = "0.1.1"
|
unicode-width = "0.1.1"
|
||||||
|
|
|
@ -61,7 +61,7 @@ use std::os::unix::fs::MetadataExt;
|
||||||
use std::env;
|
use std::env;
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
const VERSTR : &str = "v0.2.17";
|
const VERSTR : &str = env!("CARGO_PKG_VERSION");
|
||||||
const DEF_WIDTH : u16 = 80;
|
const DEF_WIDTH : u16 = 80;
|
||||||
|
|
||||||
pub enum XResult<T,S> {
|
pub enum XResult<T,S> {
|
||||||
|
|
Loading…
Reference in New Issue