diff options
Diffstat (limited to 'mingling_core/src/program')
| -rw-r--r-- | mingling_core/src/program/collection.rs | 1 | ||||
| -rw-r--r-- | mingling_core/src/program/collection/mock.rs | 1 | ||||
| -rw-r--r-- | mingling_core/src/program/config.rs | 1 | ||||
| -rw-r--r-- | mingling_core/src/program/error.rs | 1 | ||||
| -rw-r--r-- | mingling_core/src/program/exec.rs | 1 | ||||
| -rw-r--r-- | mingling_core/src/program/exec/error.rs | 1 | ||||
| -rw-r--r-- | mingling_core/src/program/flag.rs | 1 | ||||
| -rw-r--r-- | mingling_core/src/program/flag/tests.rs | 1 | ||||
| -rw-r--r-- | mingling_core/src/program/hook.rs | 1 | ||||
| -rw-r--r-- | mingling_core/src/program/hook/control_unit.rs | 1 | ||||
| -rw-r--r-- | mingling_core/src/program/hook/hook_info.rs | 1 | ||||
| -rw-r--r-- | mingling_core/src/program/once_exec.rs | 1 | ||||
| -rw-r--r-- | mingling_core/src/program/repl_exec.rs | 1 | ||||
| -rw-r--r-- | mingling_core/src/program/repl_exec/res.rs | 1 | ||||
| -rw-r--r-- | mingling_core/src/program/repl_exec/splitter.rs | 1 | ||||
| -rw-r--r-- | mingling_core/src/program/setup.rs | 1 | ||||
| -rw-r--r-- | mingling_core/src/program/single_instance.rs | 1 | ||||
| -rw-r--r-- | mingling_core/src/program/string_vec.rs | 1 |
18 files changed, 18 insertions, 0 deletions
diff --git a/mingling_core/src/program/collection.rs b/mingling_core/src/program/collection.rs index 6ec4a27..0a37106 100644 --- a/mingling_core/src/program/collection.rs +++ b/mingling_core/src/program/collection.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize #[cfg(feature = "async")] use std::pin::Pin; diff --git a/mingling_core/src/program/collection/mock.rs b/mingling_core/src/program/collection/mock.rs index 52fbd17..ad8ba0a 100644 --- a/mingling_core/src/program/collection/mock.rs +++ b/mingling_core/src/program/collection/mock.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize #[cfg(feature = "async")] use std::pin::Pin; diff --git a/mingling_core/src/program/config.rs b/mingling_core/src/program/config.rs index b098961..86b8c23 100644 --- a/mingling_core/src/program/config.rs +++ b/mingling_core/src/program/config.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize /// Output mode for error messages #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum ErrorOutput { diff --git a/mingling_core/src/program/error.rs b/mingling_core/src/program/error.rs index 0a5bfd0..dcec7ec 100644 --- a/mingling_core/src/program/error.rs +++ b/mingling_core/src/program/error.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize use std::any::Any; use std::fmt; diff --git a/mingling_core/src/program/exec.rs b/mingling_core/src/program/exec.rs index 5948cfe..923b47b 100644 --- a/mingling_core/src/program/exec.rs +++ b/mingling_core/src/program/exec.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize #![allow(clippy::borrowed_box)] #![allow(clippy::too_many_lines)] diff --git a/mingling_core/src/program/exec/error.rs b/mingling_core/src/program/exec/error.rs index c8cb15a..188610e 100644 --- a/mingling_core/src/program/exec/error.rs +++ b/mingling_core/src/program/exec/error.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize use crate::error::{ChainProcessError, ProgramPanic}; use std::fmt; diff --git a/mingling_core/src/program/flag.rs b/mingling_core/src/program/flag.rs index 81d83e6..834f01f 100644 --- a/mingling_core/src/program/flag.rs +++ b/mingling_core/src/program/flag.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize use crate::{Program, ProgramCollect}; /// A wrapper for a collection of static string slices representing command-line flags or arguments. diff --git a/mingling_core/src/program/flag/tests.rs b/mingling_core/src/program/flag/tests.rs index 60f90eb..9d6dfcd 100644 --- a/mingling_core/src/program/flag/tests.rs +++ b/mingling_core/src/program/flag/tests.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize use crate::Flag; #[test] diff --git a/mingling_core/src/program/hook.rs b/mingling_core/src/program/hook.rs index 6f468b3..cb8e4e1 100644 --- a/mingling_core/src/program/hook.rs +++ b/mingling_core/src/program/hook.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize #![allow(dead_code)] //! Program lifecycle hook system. diff --git a/mingling_core/src/program/hook/control_unit.rs b/mingling_core/src/program/hook/control_unit.rs index d71a203..47a3260 100644 --- a/mingling_core/src/program/hook/control_unit.rs +++ b/mingling_core/src/program/hook/control_unit.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize use crate::{AnyOutput, ChainProcess, NextProcess, ProgramCollect}; /// Collection variants for program control instructions. diff --git a/mingling_core/src/program/hook/hook_info.rs b/mingling_core/src/program/hook/hook_info.rs index 060e368..768f652 100644 --- a/mingling_core/src/program/hook/hook_info.rs +++ b/mingling_core/src/program/hook/hook_info.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize use crate::{AnyOutput, ProgramCollect, RenderResult}; /// Represents the data passed to `begin` hook. diff --git a/mingling_core/src/program/once_exec.rs b/mingling_core/src/program/once_exec.rs index fc48e6d..b1fba36 100644 --- a/mingling_core/src/program/once_exec.rs +++ b/mingling_core/src/program/once_exec.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize use crate::THIS_PROGRAM; use crate::{Program, ProgramCollect, RenderResult, error::ProgramExecuteError}; diff --git a/mingling_core/src/program/repl_exec.rs b/mingling_core/src/program/repl_exec.rs index fe29d16..9d9be30 100644 --- a/mingling_core/src/program/repl_exec.rs +++ b/mingling_core/src/program/repl_exec.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize #![allow(unused_imports)] #![allow(dead_code)] diff --git a/mingling_core/src/program/repl_exec/res.rs b/mingling_core/src/program/repl_exec/res.rs index 53e82d8..d16a58d 100644 --- a/mingling_core/src/program/repl_exec/res.rs +++ b/mingling_core/src/program/repl_exec/res.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize /// Internal resource for the REPL runtime, used to control the REPL's state during execution #[derive(Default, Clone)] pub struct ResREPL { diff --git a/mingling_core/src/program/repl_exec/splitter.rs b/mingling_core/src/program/repl_exec/splitter.rs index c74a3f1..312ad73 100644 --- a/mingling_core/src/program/repl_exec/splitter.rs +++ b/mingling_core/src/program/repl_exec/splitter.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize /// Wraps `split_input` to work with owned `String` inputs. pub fn split_input_string(input: &str) -> Vec<String> { split_input(input) diff --git a/mingling_core/src/program/setup.rs b/mingling_core/src/program/setup.rs index a8ff114..dfc3e1d 100644 --- a/mingling_core/src/program/setup.rs +++ b/mingling_core/src/program/setup.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize use crate::{ProgramCollect, program::Program}; /// Trait for defining initialization/setup logic for a `Program`. diff --git a/mingling_core/src/program/single_instance.rs b/mingling_core/src/program/single_instance.rs index 083897d..3cd0010 100644 --- a/mingling_core/src/program/single_instance.rs +++ b/mingling_core/src/program/single_instance.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize use std::cell::UnsafeCell; use std::sync::atomic::{AtomicBool, Ordering}; diff --git a/mingling_core/src/program/string_vec.rs b/mingling_core/src/program/string_vec.rs index a2eb433..7af4bec 100644 --- a/mingling_core/src/program/string_vec.rs +++ b/mingling_core/src/program/string_vec.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize #[derive(Debug, Clone)] #[doc(hidden)] pub struct StringVec { |
