Cargo Features
[dependencies]
rhai-dylib = { version = "0.4.0", default-features = false, features = ["sync", "libloading"] }
- default = libloading
-
The
libloading
feature is set by default wheneverrhai-dylib
is added without
somewhere in the dependency tree.default-features = false - sync
-
rhai:
Enable Special Functionalities
Require that all data types implement
Send + Sync
(for multi-threaded usage).Affects
module_resolvers::LockGuard
,module_resolvers::LockGuardMut
… - libloading default
-
enable module resolver & plugin loader using the libloading crate.
Enables libloading
Affects
loader::libloading
,module_resolvers::libloading
…