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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
//! NichLink runtime: trace state, macros, and the authoring executor.
//! The registry tree and plugin protocol live in the kernel; this crate is
//! the run_method execution surface.
//! NichLink 运行期:trace 状态、宏与 authoring 执行器。
//! 注册树与插件协议在 kernel;本 crate 是 run_method 执行面。
// The published surface must be readable on docs.rs without leaving the page,
// so the lint is on for the whole crate; `clippy -D warnings` makes a new
// undocumented public item a failure.
// 发布表面必须能在 docs.rs 上不跳页读懂,因此 lint 开在整个 crate 上;
// `clippy -D warnings` 会让新增的、没有文档的公开项变成失败。
pub use registry_core;
// This glob names the same kernel items the historical `nichlink::*` glob did,
// and it overlaps this crate's own `authoring` shim (`parse`, `snapshot`,
// `validation`). Both paths are the same surface, so the overlap is allowed
// here rather than resolved.
// 本 glob 命名的内核条目与历史上的 `nichlink::*` 完全相同,并与本 crate 自己的
// `authoring` shim(`parse`、`snapshot`、`validation`)重叠。两条路径同属一个执行面,
// 因此这里允许重叠而不做消解。
pub use *;
/// The face field front end, re-exported so a host does not have to depend on
/// the proc-macro crate itself.
/// 注册面字段前端;再导出后宿主无需自己依赖 proc-macro crate。
pub use face_fields;
/// The editor-only field mirror used by generated aliases.
/// 生成的别名使用的、仅供编辑器的字段镜像。
pub use face_fields_mirror;
/// The default `registry_rule` resolver used by the declarative face arms.
/// 声明式注册面分支使用的 `registry_rule` 默认值解析器。
pub use face_rule_or as __face_rule_or;
pub use face_trait_labels_or as __face_trait_labels_or;
pub use *;
pub use *;
pub use *;
// The trace artifact is the one document a host hands to a separate reader, so
// its entry points are worth a crate-root path: `runtime::trace::*` stays the
// module path, and this is the short one the design document shows.
// 写入方交给独立读取方的唯一文档就是 trace artifact,因此它的入口值得一条 crate 根部路径:
// `runtime::trace::*` 仍是模块路径,这一条是设计文档里写的那条短路径。
pub use ;