1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! `mocra-core` — the [mocra](https://github.com/ouiex/mocra) crawler framework's runtime.
//!
//! This crate holds the **entire runtime**: errors, cache service, utilities, shared domain
//! models and runtime state, the downloader, the data-plane queue, coordination / sync, the
//! scheduler, and the crawling engine + observability API ([`errors`] / [`cacheable`] /
//! [`utils`] / [`common`] / [`downloader`] / [`queue`] / [`sync`] / [`schedule`] / [`engine`]).
//! The host `mocra` crate is a thin facade over it.
// 结构性 clippy lint —— 现有设计取舍(参数数、类型复杂度、模块同名、error/枚举变体尺寸),
// 非 bug;与主 crate 保持一致的统一豁免(这些模块原在主 crate,依赖同样的豁免)。