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:
Romain Garbage 2022-09-09 00:06:40 +02:00
parent cd3e75b5f1
commit 82cc5e0100
No known key found for this signature in database
GPG key ID: 9DFBAECAE17DF2EE
2 changed files with 2 additions and 13 deletions

12
Cargo.lock generated
View file

@ -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"

View file

@ -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"