Skip to content

Commit 85b68a0

Browse files
committed
concepts
1 parent 7dc178d commit 85b68a0

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

scopegraphs/Cargo.toml

+9
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,12 @@ scopegraphs-regular-expressions = { path = "../scopegraphs-regular-expressions",
2222
default = ["dot", "dynamic-regex"]
2323
dot = ["scopegraphs-regular-expressions/dot", "scopegraphs-macros/dot", "scopegraphs-lib/dot"]
2424
dynamic-regex = ["scopegraphs-regular-expressions/dynamic"]
25+
unstable-doc = []
26+
27+
[package.metadata.playground]
28+
features = ["unstable-doc"]
29+
30+
[package.metadata.docs.rs]
31+
features = ["unstable-doc"]
32+
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
33+
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]

scopegraphs/_concepts/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
//! # Concepts of Scopegraphs

scopegraphs/src/lib.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
2+
13
pub use scopegraphs_lib::*;
24
pub use scopegraphs_macros::*;
35
pub use scopegraphs_regular_expressions::*;
6+
7+
#[cfg(feature = "unstable-doc")]
8+
pub mod _concepts;

0 commit comments

Comments
 (0)