From 20b8fe7881ee7ecfcf3e5d60692caea96e361eea Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 29 May 2026 21:28:52 +0800 Subject: Remove stale example-repl-advanced directory and repl_extra feature --- mingling/src/example_docs.rs | 24 ------------------------ mingling/src/features.rs | 11 ----------- 2 files changed, 35 deletions(-) (limited to 'mingling/src') 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"))] -- cgit