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 /examples/example-pathfinder/page.toml | |
| parent | 748c14588cf1c31c8b8d60a9c94349c0173ef607 (diff) | |
feat(docs): add Module Pathfinder example for the `pathf` feature
Diffstat (limited to 'examples/example-pathfinder/page.toml')
| -rw-r--r-- | examples/example-pathfinder/page.toml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/example-pathfinder/page.toml b/examples/example-pathfinder/page.toml new file mode 100644 index 0000000..54f4118 --- /dev/null +++ b/examples/example-pathfinder/page.toml @@ -0,0 +1,10 @@ +[example] +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. +""" +tags = ["pathf", "build.rs", "architecture"] +files = [ "Cargo.toml", "build.rs", "src/main.rs", "src/sub/mod.rs"] |
