Skip to main content

tributary_proto/
lib.rs

1#![doc = include_str!("../README.md")]
2#![cfg_attr(not(feature = "std"), no_std)]
3#![cfg_attr(docsrs, feature(doc_cfg))]
4#![cfg_attr(docsrs, allow(unused_attributes))]
5#![deny(missing_docs)]
6
7// The crate floor is alloc: every configuration needs collections and strings,
8// so the alias is unconditional off-std rather than gated behind a feature.
9#[cfg(not(feature = "std"))]
10extern crate alloc as std;
11
12#[cfg(feature = "std")]
13extern crate std;
14
15pub mod action;
16pub mod capabilities;
17pub mod change;
18pub mod error;
19pub mod id;
20pub mod interest;
21pub mod monitor;
22pub mod path;
23pub mod record;
24pub mod scope;
25pub mod time;
26
27pub mod fanotify;
28pub mod fsevents;
29pub mod inotify;
30
31pub use action::{
32  Action, EnumerateCommand, StatChild, StatCommand, StatTarget, WatchAck, WatchChild, WatchCommand,
33  WatchTarget,
34};
35pub use capabilities::Capabilities;
36pub use change::{Change, ChangeKind};
37pub use error::WatchError;
38pub use id::{ChangeId, Epoch, Identity, MoveCookie, ReqId, ScopeId, WatchId};
39pub use interest::Interest;
40pub use monitor::Monitor;
41pub use path::{Location, Segment};
42pub use record::{DirEntry, EnumerateResult, FileKind, IoClass, OsRecord, RecordKind};
43pub use scope::{Scope, SubtreeScope};
44pub use time::Instant;