diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-28 09:18:17 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-28 09:18:17 +0800 |
| commit | 86bc9000c5687db6434a5d20f409dda8b1d7a43a (patch) | |
| tree | c28cb62dee7ad1a81abf9345e16b725866fbce7a /docs | |
| parent | 748c14588cf1c31c8b8d60a9c94349c0173ef607 (diff) | |
feat(docs): add Module Pathfinder example for the `pathf` feature
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/example-pages/examples.json | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/example-pages/examples.json b/docs/example-pages/examples.json index f3484f3..a9af210 100644 --- a/docs/example-pages/examples.json +++ b/docs/example-pages/examples.json @@ -250,6 +250,24 @@ ] }, { + "id": "example-pathfinder", + "name": "Module Pathfinder", + "icon": "🧭", + "category": "advanced", + "desc": "Demonstrates the `pathf` feature, which automatically resolves type module paths at build time. Types can be defined in submodules without explicit `use` in the main module.\n", + "tags": [ + "pathf", + "build.rs", + "architecture" + ], + "files": [ + "Cargo.toml", + "build.rs", + "src/main.rs", + "src/sub/mod.rs" + ] + }, + { "id": "example-repl-basic", "name": "REPL Basic", "icon": "🔁", |
