[dependencies.async-std]
optional = true
version = "1.12"
[dependencies.async-trait]
optional = true
version = "0.1"
[dependencies.byteorder]
version = "1.4"
[dependencies.bytes]
version = "1.5"
[dependencies.enum_dispatch]
version = "0.3"
[dependencies.fs4]
optional = true
version = "0.6"
[dependencies.futures-util]
optional = true
version = "0.3"
[dependencies.memmapix]
version = "0.7"
[dependencies.parse-display]
version = "0.8"
[dependencies.pin-project-lite]
optional = true
version = "0.2"
[dependencies.smol]
optional = true
version = "1.3"
[dependencies.tokio]
optional = true
version = "1.32"
[dev-dependencies.async-std]
features = ["attributes"]
version = "1.12"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.ctor]
version = "0.2"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.scopeguard]
version = "1.2"
[dev-dependencies.smol-potat]
version = "1.1"
[dev-dependencies.tempdir]
version = "0.3"
[dev-dependencies.tokio]
features = ["full"]
version = "1.31"
[dev-dependencies.tokio-test]
version = "0.4"
[features]
async-std = ["dep:async-std"]
async-trait = ["dep:async-trait"]
default = ["sync"]
nightly = []
smol-async = ["dep:fs4", "fs4?/smol-async", "async-trait", "dep:async-trait", "dep:pin-project-lite", "dep:smol"]
std-async = ["dep:fs4", "fs4?/std-async", "async-trait", "dep:async-trait", "dep:pin-project-lite", "async-std", "dep:async-std", "async-std?/async-io", "async-std?/futures-lite", "dep:futures-util", "futures-util?/io"]
sync = ["dep:fs4", "fs4?/sync"]
tokio = ["dep:tokio"]
tokio-async = ["dep:fs4", "fs4?/tokio-async", "async-trait", "dep:async-trait", "dep:pin-project-lite", "tokio", "dep:tokio", "tokio?/io-std", "tokio?/io-util", "tokio?/fs"]
[lib]
doctest = true
[package]
authors = ["Al Liu <scygliu@gmail.com>"]
categories = ["filesystem", "external-ffi-bindings", "asynchronous"]
description = "A flexible and convenient high-level mmap for zero-copy file I/O."
documentation = "https://docs.rs/fmmap"
edition = "2021"
keywords = ["file", "memmapix", "mmap", "memory-map", "io"]
license = "MIT OR Apache-2.0"
name = "fmmap"
readme = "README.md"
repository = "https://github.com/al8n/fmmap/tree/main/fmmap-rs"
resolver = "1"
rust-version = "1.60.0"
version = "0.3.3"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]