Cargo Features

[dependencies]
fmmap = { version = "0.3.3", default-features = false, features = ["nightly", "sync", "tokio-async", "smol-async", "std-async", "tokio", "async-std", "async-trait"] }
default = sync

The sync feature is set by default whenever fmmap is added without default-features = false somewhere in the dependency tree.

nightly

Affects unix::MetaDataExt.is_symlink, windows::MetaDataExt.is_symlink, windows::MetaDataExt.volume_serial_number, windows::MetaDataExt.number_of_links, windows::MetaDataExt.file_index

sync default

Enables sync of fs4 ^0.6

tokio-async = async-trait, tokio

Enables async-trait, pin-project-lite, tokio-async of fs4 ^0.6, fs, io-std and io-util of tokio

smol-async = async-trait

Enables async-trait, pin-project-lite and smol ^1.3, smol-async of fs4 ^0.6

std-async = async-std, async-trait

Enables async-trait, pin-project-lite, async-io and futures-lite of async-std, std-async of fs4 ^0.6, io of futures-util

tokio tokio-async?

TODO: these features is for backward compatibility, but they were not explicitly declared before! this crate's code usies them in varios cfg! checks, but they should probably be fixed

Enables tokio

async-std std-async?

Enables async-std

async-trait smol-async? std-async? tokio-async?

Enables async-trait