# 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" rust-version = "1.60.0" name = "fmmap" version = "0.3.3" authors = ["Al Liu "] description = "A flexible and convenient high-level mmap for zero-copy file I/O." documentation = "https://docs.rs/fmmap" readme = "README.md" keywords = [ "file", "memmapix", "mmap", "memory-map", "io", ] categories = [ "filesystem", "external-ffi-bindings", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/al8n/fmmap/tree/main/fmmap-rs" resolver = "1" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] doctest = true [dependencies.async-std] version = "1.12" optional = true [dependencies.async-trait] version = "0.1" optional = true [dependencies.byteorder] version = "1.4" [dependencies.bytes] version = "1.5" [dependencies.enum_dispatch] version = "0.3" [dependencies.fs4] version = "0.6" optional = true [dependencies.futures-util] version = "0.3" optional = true [dependencies.memmapix] version = "0.7" [dependencies.parse-display] version = "0.8" [dependencies.pin-project-lite] version = "0.2" optional = true [dependencies.smol] version = "1.3" optional = true [dependencies.tokio] version = "1.32" optional = true [dev-dependencies.async-std] version = "1.12" features = ["attributes"] [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] version = "1.31" features = ["full"] [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", ]