hydrant/
lib.rs

1pub mod config;
2/// hydrant main api, includes the Hydrant type for programmatic control.
3pub mod control;
4pub(crate) mod filter;
5pub(crate) mod pds_meta;
6pub mod types;
7
8#[cfg(all(feature = "relay", feature = "indexer"))]
9compile_error!("can't be relay and indexer at the same time");
10#[cfg(all(feature = "relay", feature = "backlinks"))]
11compile_error!("can't index backlinks while running as a relay");
12
13pub(crate) mod api;
14#[cfg(feature = "indexer")]
15pub(crate) mod backfill;
16#[cfg(feature = "backlinks")]
17pub(crate) mod backlinks;
18#[cfg(feature = "indexer")]
19pub(crate) mod crawler;
20pub(crate) mod db;
21pub(crate) mod ingest;
22#[cfg(feature = "indexer")]
23pub(crate) mod ops;
24pub(crate) mod patch;
25pub(crate) mod resolver;
26pub(crate) mod state;
27pub(crate) mod util;
28
29pub use filter::FilterMode;