Mmap custom storage example

This commit is contained in:
Igor Katson 2024-04-30 23:12:23 +01:00
parent fd30ad9cbf
commit 3398babba9
6 changed files with 122 additions and 75 deletions

10
Cargo.lock generated
View file

@ -1287,6 +1287,7 @@ dependencies = [
"librqbit-sha1-wrapper",
"librqbit-tracker-comms",
"librqbit-upnp",
"memmap2",
"openssl",
"parking_lot",
"rand",
@ -1484,6 +1485,15 @@ version = "2.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d"
[[package]]
name = "memmap2"
version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fe751422e4a8caa417e13c3ea66452215d7d63e19e604f4980461212f3ae1322"
dependencies = [
"libc",
]
[[package]]
name = "mime"
version = "0.3.17"