# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "file_rw" version = "0.6.6" authors = ["Adam Killam "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A library for high-performance, memory-mapped file I/O utilities." readme = "README.md" categories = [ "filesystem", "rust-patterns", ] license = "GPL-3.0-or-later" repository = "https://github.com/amkillam/file_rw" [lib] name = "file_rw" path = "src/lib.rs" bench = false [[test]] name = "file" path = "tests/file.rs" [[test]] name = "file_reader" path = "tests/file_reader.rs" [[test]] name = "file_writer" path = "tests/file_writer.rs" [[test]] name = "utils" path = "tests/utils.rs" [[bench]] name = "subset_search" path = "benches/subset_search.rs" harness = false [dependencies.digest] version = "0.10.7" features = ["core-api"] optional = true default-features = false [dependencies.filepath] version = "0.1.2" optional = true [dependencies.memchr] version = "2.7.4" optional = true default-features = false [dependencies.memmap2] version = "0.9.4" [dependencies.sha3] version = "0.10.8" features = ["oid"] optional = true default-features = false [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.hex-literal] version = "0.4.1" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.sha3] version = "0.10.8" [dev-dependencies.tempfile] version = "3.10.1" [features] alloc = [ "memchr/alloc", "digest/alloc", ] default = [ "search", "filepath", "sha3_256", "std", "alloc", ] filepath = ["dep:filepath"] hash = ["dep:digest"] search = ["dep:memchr"] sha3_256 = [ "dep:sha3", "hash", ] std = [ "memchr/std", "digest/std", "sha3/std", ]