rhai-dylib 0.10.0

Dylib support for Rhai
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![doc = include_str!("../README.md")]
#![deny(missing_docs)]
#![warn(clippy::all)]
#![warn(clippy::pedantic)]
#![warn(clippy::cargo)]

#[cfg(not(target_os = "linux"))]
#[cfg(not(target_os = "macos"))]
#[cfg(not(target_os = "windows"))]
compile_error!("unsupported platform - only Linux, macOS and Windows are supported");

/// Trait implementation to create objects that load plugins.
pub mod loader;
/// A Rhai module resolver loading dynamic libraries.
pub mod module_resolvers;

/// Re-exporting rhai to prevent version mismatch.
pub use rhai;