# 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 = "2024"
name = "easy_fuser"
version = "0.4.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A flexible and idiomatic Fuse implementation for Rust"
homepage = "https://github.com/Alogani/easy_fuser"
documentation = "https://docs.rs/easy_fuser"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Alogani/easy_fuser"

[package.metadata.docs.rs]
features = ["parallel"]

[features]
async = [
    "dep:async-trait",
    "dep:tokio",
]
deadlock_detection = [
    "parallel",
    "dep:parking_lot",
]
default = []
parallel = ["dep:threadpool"]
serial = []

[lib]
name = "easy_fuser"
path = "src/lib.rs"

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[[test]]
name = "mount_mirror_fs"
path = "tests/mount_mirror_fs.rs"

[[test]]
name = "offset_test"
path = "tests/offset_test.rs"

[[test]]
name = "test_recursion"
path = "tests/test_recursion.rs"

[dependencies.async-trait]
version = "0.1.89"
optional = true

[dependencies.bitflags]
version = "2.10"

[dependencies.fuser]
version = "0.16"

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.parking_lot]
version = "0.12"
features = ["deadlock_detection"]
optional = true

[dependencies.threadpool]
version = "1.8"
optional = true

[dependencies.tokio]
version = "1.48"
features = ["full"]
optional = true

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.tempfile]
version = "3.23"
