aboutsummaryrefslogtreecommitdiff
path: root/mingling
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 /mingling
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 'mingling')
-rw-r--r--mingling/Cargo.toml6
1 files changed, 5 insertions, 1 deletions
diff --git a/mingling/Cargo.toml b/mingling/Cargo.toml
index 351384f..9bf82a7 100644
--- a/mingling/Cargo.toml
+++ b/mingling/Cargo.toml
@@ -43,7 +43,8 @@ macros = ["dep:mingling_macros", "mingling_macros/default"]
nightly = ["mingling_core/nightly", "mingling_macros/nightly"]
debug = ["mingling_core/debug"]
async = ["mingling_core/async", "mingling_macros/async"]
-builds = ["mingling_core/builds"]
+
+build = ["mingling_core/build"]
default = ["core", "macros"]
@@ -92,6 +93,9 @@ extra_macros = ["mingling_macros/extra_macros"]
# Section only shown in docs.rs
docs_rs = []
+# This is an old name, will be Breaking Change in the future
+builds = ["mingling_core/build"]
+
[dependencies]
mingling_core = { workspace = true, optional = true }
mingling_macros = { workspace = true, optional = true }