[package]
edition = "2021"
name = "dir-meta"
version = "0.7.0"
authors = ["448 OG <superuser@448.africa>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read a directory and get back all files and errors from the read operation"
homepage = "https://github.com/448-OG/DirMeta.git"
readme = "README.md"
keywords = [
"recursion",
"directory",
"files",
"async",
]
categories = ["filesystem"]
license = "Apache-2.0"
repository = "https://github.com/448-OG/DirMeta.git"
[package.metadata.docs.rs]
features = [
"sync",
"async",
]
[features]
async = [
"dep:async-recursion",
"dep:async-io",
"dep:futures-lite",
"dep:blocking",
"dep:async-fs",
]
default = [
"time",
"size",
"extra",
"file-type",
]
extra = []
file-type = ["dep:file-format"]
size = [
"dep:byte_prefix",
"extra",
]
sync = []
time = [
"dep:chrono",
"dep:humantime",
"dep:tai64",
]
watcher = [
"dep:inotify",
"dep:async-channel",
"dep:futures-lite",
]
[lib]
name = "dir_meta"
path = "src/lib.rs"
[[example]]
name = "async_dir_contents"
path = "examples/async_dir_contents.rs"
[[example]]
name = "dir_contents"
path = "examples/dir_contents.rs"
[[example]]
name = "watch_path"
path = "examples/watch_path.rs"
[dependencies.async-channel]
version = "2.5.0"
optional = true
[dependencies.async-fs]
version = "2.2.0"
optional = true
default-features = false
[dependencies.async-io]
version = "2.6.0"
optional = true
default-features = false
[dependencies.async-recursion]
version = "1.1.1"
optional = true
[dependencies.blocking]
version = "1.6.2"
optional = true
[dependencies.byte_prefix]
version = "1.0.0"
optional = true
[dependencies.chrono]
version = "0.4.44"
optional = true
[dependencies.file-format]
version = "0.28.0"
features = [
"reader",
"reader-asf",
"reader-cfb",
"reader-ebml",
"reader-exe",
"reader-mp4",
"reader-pdf",
"reader-rm",
"reader-txt",
"reader-xml",
"reader-zip",
]
optional = true
[dependencies.futures-lite]
version = "2.6.1"
optional = true
default-features = false
[dependencies.humantime]
version = "2.3.0"
optional = true
[dependencies.inotify]
version = "0.11.1"
optional = true
default-features = false
[dependencies.tai64]
version = "4.1.0"
optional = true
[dev-dependencies.smol]
version = "2.0.2"