From 86bc9000c5687db6434a5d20f409dda8b1d7a43a Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 28 Jun 2026 09:18:17 +0800 Subject: feat(docs): add Module Pathfinder example for the `pathf` feature --- examples/example-pathfinder/page.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 examples/example-pathfinder/page.toml (limited to 'examples/example-pathfinder/page.toml') 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"] -- cgit