aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-05-29 21:28:52 +0800
committer魏曹先生 <1992414357@qq.com>2026-05-29 21:29:49 +0800
commit20b8fe7881ee7ecfcf3e5d60692caea96e361eea (patch)
tree23175331cb93462817064dd15c61a17482742246
parentc2a786e63c31b1c090d7a43db2484c390f9eb95f (diff)
Remove stale example-repl-advanced directory and repl_extra feature
-rw-r--r--Cargo.toml1
-rw-r--r--examples/example-repl-advanced/Cargo.lock84
-rw-r--r--examples/example-repl-advanced/Cargo.toml11
-rw-r--r--examples/example-repl-advanced/src/main.rs3
-rw-r--r--mingling/Cargo.toml1
-rw-r--r--mingling/src/example_docs.rs24
-rw-r--r--mingling/src/features.rs11
7 files changed, 0 insertions, 135 deletions
diff --git a/Cargo.toml b/Cargo.toml
index f5b9a3a..fcddfc6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -17,7 +17,6 @@ exclude = [
"examples/example-hook",
"examples/example-implicit-dispatcher",
"examples/example-panic-unwind",
- "examples/example-repl-advanced",
"examples/example-repl-basic",
"examples/example-resources",
"examples/example-setup",
diff --git a/examples/example-repl-advanced/Cargo.lock b/examples/example-repl-advanced/Cargo.lock
deleted file mode 100644
index b18899b..0000000
--- a/examples/example-repl-advanced/Cargo.lock
+++ /dev/null
@@ -1,84 +0,0 @@
-# This file is automatically @generated by Cargo.
-# It is not intended for manual editing.
-version = 4
-
-[[package]]
-name = "example-repl-advanced"
-version = "0.1.0"
-dependencies = [
- "just_fmt",
- "mingling",
-]
-
-[[package]]
-name = "just_fmt"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5454cda0d57db59778608d7a47bff5b16c6705598265869fb052b657f66cf05e"
-
-[[package]]
-name = "mingling"
-version = "0.1.9"
-dependencies = [
- "mingling_core",
- "mingling_macros",
- "size",
-]
-
-[[package]]
-name = "mingling_core"
-version = "0.1.9"
-dependencies = [
- "just_fmt",
-]
-
-[[package]]
-name = "mingling_macros"
-version = "0.1.9"
-dependencies = [
- "just_fmt",
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "proc-macro2"
-version = "1.0.106"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
-dependencies = [
- "unicode-ident",
-]
-
-[[package]]
-name = "quote"
-version = "1.0.45"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
-dependencies = [
- "proc-macro2",
-]
-
-[[package]]
-name = "size"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1b6709c7b6754dca1311b3c73e79fcce40dd414c782c66d88e8823030093b02b"
-
-[[package]]
-name = "syn"
-version = "2.0.117"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
-dependencies = [
- "proc-macro2",
- "quote",
- "unicode-ident",
-]
-
-[[package]]
-name = "unicode-ident"
-version = "1.0.24"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
diff --git a/examples/example-repl-advanced/Cargo.toml b/examples/example-repl-advanced/Cargo.toml
deleted file mode 100644
index 7f89773..0000000
--- a/examples/example-repl-advanced/Cargo.toml
+++ /dev/null
@@ -1,11 +0,0 @@
-[package]
-name = "example-repl-advanced"
-version = "0.1.0"
-edition = "2024"
-
-[dependencies.mingling]
-path = "../../mingling"
-features = ["repl", "repl_extra", "parser", "extra_macros"]
-
-[dependencies]
-just_fmt = "0.1.2"
diff --git a/examples/example-repl-advanced/src/main.rs b/examples/example-repl-advanced/src/main.rs
deleted file mode 100644
index e7a11a9..0000000
--- a/examples/example-repl-advanced/src/main.rs
+++ /dev/null
@@ -1,3 +0,0 @@
-fn main() {
- println!("Hello, world!");
-}
diff --git a/mingling/Cargo.toml b/mingling/Cargo.toml
index e0d2f4a..68a26d4 100644
--- a/mingling/Cargo.toml
+++ b/mingling/Cargo.toml
@@ -51,7 +51,6 @@ default = ["mingling_core/default", "mingling_macros/default"]
clap = ["mingling_core/clap", "mingling_macros/clap"]
dispatch_tree = ["mingling_core/dispatch_tree", "mingling_macros/dispatch_tree"]
repl = ["mingling_core/repl", "mingling_macros/repl"]
-repl_extra = ["repl"]
comp = ["mingling_core/comp", "mingling_macros/comp"]
parser = ["dep:size"]
diff --git a/mingling/src/example_docs.rs b/mingling/src/example_docs.rs
index b46041f..b665485 100644
--- a/mingling/src/example_docs.rs
+++ b/mingling/src/example_docs.rs
@@ -1473,30 +1473,6 @@ pub mod example_implicit_dispatcher {}
/// gen_program!();
/// ```
pub mod example_panic_unwind {}
-
-///
-/// Source code (./Cargo.toml)
-/// ```toml
-/// [package]
-/// name = "example-repl-advanced"
-/// version = "0.1.0"
-/// edition = "2024"
-///
-/// [dependencies.mingling]
-/// path = "../../mingling"
-/// features = ["repl", "repl_extra", "parser", "extra_macros"]
-///
-/// [dependencies]
-/// just_fmt = "0.1.2"
-/// ```
-///
-/// Source code (./src/main.rs)
-/// ```ignore
-/// fn main() {
-/// println!("Hello, world!");
-/// }
-/// ```
-pub mod example_repl_advanced {}
/// Example REPL Basic
///
/// > This example demonstrates how to develop a REPL program using the `repl` feature
diff --git a/mingling/src/features.rs b/mingling/src/features.rs
index 365724c..ec9c7ad 100644
--- a/mingling/src/features.rs
+++ b/mingling/src/features.rs
@@ -174,17 +174,6 @@ pub const MINGLING_REPL: bool = false;
#[cfg(feature = "repl")]
#[allow(unused)]
pub const MINGLING_REPL: bool = true;
-/// Whether the `repl_extra` feature is enabled
-/// Current: `disabled`
-#[cfg(not(feature = "repl_extra"))]
-#[allow(unused)]
-pub const MINGLING_REPL_EXTRA: bool = false;
-
-/// Whether the `repl_extra` feature is enabled
-/// Current: `enabled`
-#[cfg(feature = "repl_extra")]
-#[allow(unused)]
-pub const MINGLING_REPL_EXTRA: bool = true;
/// Whether the `ron_serde_fmt` feature is enabled
/// Current: `disabled`
#[cfg(not(feature = "ron_serde_fmt"))]