aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-23 00:38:36 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-23 00:38:36 +0800
commit39721a88611f47a8e02a4daeafaa34d1a2c44b34 (patch)
treed4f5191556413e81300390a8dc0d54e0a0736e75 /examples
parente6c2545f89d2af8bac4e772d44655b97789ae60f (diff)
feat(core): rename `builds` feature to `build`
Replace the `builds` feature with `build` across the crate, keeping a backward-compatible alias for the old name. Update all internal visibility from `#[doc(hidden)] pub mod` to `pub(crate) mod` and reorganize the `__private` module into a dedicated `private.rs`.
Diffstat (limited to 'examples')
-rw-r--r--examples/example-completion/Cargo.toml4
-rw-r--r--examples/example-completion/src/main.rs2
-rw-r--r--examples/example-pathfinder/Cargo.toml4
3 files changed, 5 insertions, 5 deletions
diff --git a/examples/example-completion/Cargo.toml b/examples/example-completion/Cargo.toml
index 1c6b327..00c7f8c 100644
--- a/examples/example-completion/Cargo.toml
+++ b/examples/example-completion/Cargo.toml
@@ -20,8 +20,8 @@ features = [
"comp",
# If you want to build completion scripts,
- # enable `builds` features
- "builds",
+ # enable `build` features
+ "build",
]
[workspace]
diff --git a/examples/example-completion/src/main.rs b/examples/example-completion/src/main.rs
index 45cc8ef..d65be49 100644
--- a/examples/example-completion/src/main.rs
+++ b/examples/example-completion/src/main.rs
@@ -7,7 +7,7 @@
//! To make your completions work, you need to generate a completion script using Mingling's tools
//!
//! 1. Enable features
-//! You need to enable the `builds` and `comp` features for `mingling` in `[build-dependencies]`
+//! You need to enable the `build` and `comp` features for `mingling` in `[build-dependencies]`
//!
//! 2. Write `build.rs`
//! Write the following in `build.rs`
diff --git a/examples/example-pathfinder/Cargo.toml b/examples/example-pathfinder/Cargo.toml
index bd362f2..bc41bd2 100644
--- a/examples/example-pathfinder/Cargo.toml
+++ b/examples/example-pathfinder/Cargo.toml
@@ -18,8 +18,8 @@ features = [
# Enable `pathf` features
"pathf",
- # Enable the `builds` feature for build-time support
- "builds",
+ # Enable the `build` feature for build-time support
+ "build",
]
[workspace]