dir_meta/
lib.rs

1#![deny(unsafe_code)]
2#![forbid(missing_docs)]
3#![doc = include_str!("../README.md")]
4
5mod utils;
6pub use utils::*;
7
8mod fs;
9pub use fs::*;
10
11#[cfg(all(not(doc), feature = "sync", feature = "async"))]
12compile_error!("Features 'sync' and 'async' cannot be enabled at the same time.");
13
14#[cfg(all(not(doc), feature = "sync", feature = "watcher"))]
15compile_error!("`watcher` feature can only be compiled with `async` feature.");
16
17#[cfg(feature = "watcher")]
18mod watcher;
19/// This directory inherits most types from `inotify` crate
20#[cfg(feature = "watcher")]
21pub use watcher::*;
22
23#[cfg(feature = "async")]
24pub use async_recursion;
25
26#[cfg(feature = "size")]
27pub use byte_prefix;
28
29#[cfg(feature = "time")]
30pub use chrono;
31
32#[cfg(feature = "file-type")]
33pub use file_format;
34
35#[cfg(feature = "time")]
36pub use humantime;
37
38#[cfg(feature = "watcher")]
39pub use inotify;
40
41#[cfg(feature = "watcher")]
42pub use async_channel;
43
44#[cfg(feature = "async")]
45pub use async_io;
46
47#[cfg(feature = "async")]
48pub use futures_lite;
49
50#[cfg(feature = "async")]
51pub use blocking;
52
53#[cfg(feature = "time")]
54pub use tai64;