aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/lib.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-02 19:58:41 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-02 19:58:41 +0800
commit4d9a71d5737f9c090bd4f9d9b006b96f9362d2ea (patch)
tree730e824c78991139741d91a4a6fd82c31d8a7bd1 /mingling/src/lib.rs
parentc0372a0415971a4e2ebdc1ba290a4a168f075794 (diff)
feat: add docs.rs generated program documentation module
Diffstat (limited to 'mingling/src/lib.rs')
-rw-r--r--mingling/src/lib.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs
index c9c6d22..108d61a 100644
--- a/mingling/src/lib.rs
+++ b/mingling/src/lib.rs
@@ -6,6 +6,16 @@
#![doc = include_str!("docs/lib.md")]
#![cfg_attr(docsrs, feature(doc_cfg))]
+#[cfg(all(feature = "core", feature = "docs_rs"))]
+mod gen_program;
+
+#[cfg(all(feature = "core", feature = "docs_rs"))]
+#[doc = include_str!("docs/gen_program.md")]
+#[allow(nonstandard_style)]
+pub mod CRATE_ROOT {
+ pub use crate::gen_program::*;
+}
+
#[cfg(feature = "core")]
mod example_docs;