mirror of
https://github.com/echo-devim/huextract.git
synced 2024-05-09 14:00:38 +00:00
Remove num_cpus dep and bump to version 0.2.0
The crate num_cpus is not needed anymore as the multithreaded part spawns as many threads as needed: since the execution bottleneck is the extraction of the data to the disk, the calculation of the checksums in the threads for the currently extracted images will be finished all the images are extracted.
This commit is contained in:
parent
cd3e75b5f1
commit
82cc5e0100
12
Cargo.lock
generated
12
Cargo.lock
generated
|
@ -99,10 +99,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "huextract"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"num_cpus",
|
||||
"tabled",
|
||||
]
|
||||
|
||||
|
@ -122,15 +121,6 @@ version = "0.2.132"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8371e4e5341c3a96db127eb2465ac681ced4c433e01dd0e938adbef26ba93ba5"
|
||||
|
||||
[[package]]
|
||||
name = "num_cpus"
|
||||
version = "1.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "514f0d73e64be53ff320680ca671b64fe3fb91da01e1ae2ddc99eb51d453b20d"
|
||||
dependencies = [
|
||||
"libc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "once_cell"
|
||||
version = "1.13.1"
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
[package]
|
||||
name = "huextract"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
authors = ["echo-devim <devim@outlook.it>"]
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
num_cpus = "1.7.0"
|
||||
clap = { version = "3.2.18", features = [ "derive" ] }
|
||||
tabled = "0.8.0"
|
||||
|
|
Loading…
Reference in a new issue