|
|
|
@ -10,13 +10,12 @@ edition = "2018"
|
|
|
|
|
async = ["tokio"]
|
|
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
|
opt-level = 1 # opt-level >1 causes strange bug in regards to size of memory map??? it still happens on one just not as much????
|
|
|
|
|
# To test map a large file in /tmp a bunch of times and hash it.
|
|
|
|
|
opt-level = 3
|
|
|
|
|
lto = "fat"
|
|
|
|
|
codegen-units = 1
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
termprogress = { path = "../termprogress" }
|
|
|
|
|
termprogress = "0.1.0"
|
|
|
|
|
lazy_static = "1.4"
|
|
|
|
|
tokio = {version = "0.2", features= ["full"], optional=true}
|
|
|
|
|
reqwest = {version = "0.10", features= ["stream"]}
|
|
|
|
|