diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-07-05 14:38:05 +0800 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-07-05 14:38:05 +0800 |
commit | 280d5436979f28c00b267d092e01c9675d3be7be (patch) | |
tree | 26ae8cb4094dbddfbb1601a16db000bfe4c10222 | |
parent | 533b41d22280450b883f6a2d340f5bb164e7221b (diff) |
fix: remove `chrono` from the dependency tree.
This assures there is no possibility for undefined behaviour to
to localtime support used by some of the `trash`-crate code otherwise.
-rw-r--r-- | Cargo.lock | 54 | ||||
-rw-r--r-- | Cargo.toml | 2 |
2 files changed, 3 insertions, 53 deletions
@@ -62,19 +62,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] -name = "chrono" -version = "0.4.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" -dependencies = [ - "libc", - "num-integer", - "num-traits", - "time", - "winapi", -] - -[[package]] name = "clap" version = "3.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -471,25 +458,6 @@ dependencies = [ ] [[package]] -name = "num-integer" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" -dependencies = [ - "autocfg", - "num-traits", -] - -[[package]] -name = "num-traits" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" -dependencies = [ - "autocfg", -] - -[[package]] name = "num_cpus" version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -789,17 +757,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb" [[package]] -name = "time" -version = "0.1.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" -dependencies = [ - "libc", - "wasi", - "winapi", -] - -[[package]] name = "tinyvec" version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -816,11 +773,10 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "trash" -version = "2.1.4" +version = "2.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d0492e349e41bfa40e9d446a5803b84275898f0b3bda568b23e10325702095d" +checksum = "fe090367848cd40c4230ff3ce4e2ff6a2fd511c1e14ae047a4a4c37ef7965236" dependencies = [ - "chrono", "libc", "log", "objc", @@ -914,12 +870,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] -name = "wasi" -version = "0.10.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" - -[[package]] name = "wild" version = "2.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -28,7 +28,7 @@ num_cpus = "1.10.0" filesize = "0.2.0" anyhow = "1.0.31" colored = "2.0.0" -trash = { version = "2.0.1", optional = true } +trash = { version = "2.1.5", optional = true, default-features = false, features = ["coinit_apartmentthreaded"] } # 'tui' related unicode-segmentation = { version = "1.3.0", optional = true } |