File: relax-deps.patch

package info (click to toggle)
rust-du-dust 1.2.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 592 kB
  • sloc: sh: 267; makefile: 4
file content (44 lines) | stat: -rw-r--r-- 885 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -118,3 +118,3 @@
 [dependencies.directories]
-version = "4"
+version = "5"
 
@@ -138,10 +139,10 @@
 version = "0.2"
 
 [dependencies.sysinfo]
-version = "0.27"
+version = ">= 0.27, < 0.38"
 
 [dependencies.terminal_size]
-version = "0.2"
+version = "0.4"
 
 [dependencies.thousands]
 version = "0.2"
@@ -168,12 +169,6 @@
 [target.'cfg(not(target_has_atomic = "64"))'.dependencies.portable-atomic]
 version = "1.4"
 
-[target."cfg(windows)".dependencies.filesize]
-version = "0.2.0"
-
-[target."cfg(windows)".dependencies.winapi-util]
-version = "0.1"
-
 [profile.release]
 lto = true
 codegen-units = 1
--- a/src/main.rs
+++ b/src/main.rs
@@ -28,7 +28,7 @@
 use std::process;
 use std::sync::Arc;
 use std::sync::Mutex;
-use sysinfo::{System, SystemExt};
+use sysinfo::System;
 use utils::canonicalize_absolute_path;
 
 use self::display::draw_it;