Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/func/plugin.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//! Module defining macros for developing _plugins_.

use super::FnCallArgs;
use crate::NativeCallContext;
#[cfg(feature = "no_std")]
use std::prelude::v1::*;

Expand All @@ -10,6 +9,16 @@ pub type RhaiResult = crate::RhaiResult;

pub use rhai_codegen::*;

// Removing these re-exports would be a breaking change,
// despite there are other import paths that can be used.
// https://github.com/rhaiscript/rhai/issues/1098
pub use super::RhaiFunc;
pub use crate::{
Dynamic, Engine, EvalAltResult, FnAccess, FnNamespace, FuncRegistration, ImmutableString,
Module, NativeCallContext, Position,
};
pub use std::{any::TypeId, mem};

/// Trait implemented by a _plugin function_.
///
/// This trait should not be used directly.
Expand Down
Loading