2024-09-04 21:37:35 +02:00
|
|
|
//! ### FFI
|
|
|
|
//! Foreign-Function-Interface glue code, each gated behind feature flags
|
|
|
|
//!
|
|
|
|
//! For all except java, the resulting shared object is ready to use, but external packages are
|
|
|
|
//! available to simplify the dependancy and provide type hints in editor.
|
|
|
|
|
|
|
|
/// java bindings, built with [jni]
|
2024-03-09 23:27:08 +01:00
|
|
|
#[cfg(feature = "java")]
|
|
|
|
pub mod java;
|
2024-03-10 01:39:08 +01:00
|
|
|
|
2024-09-04 21:37:35 +02:00
|
|
|
/// lua bindings, built with [mlua]
|
2024-03-10 01:39:08 +01:00
|
|
|
#[cfg(feature = "lua")]
|
|
|
|
pub mod lua;
|
2024-03-10 12:42:56 +01:00
|
|
|
|
2024-09-04 21:37:35 +02:00
|
|
|
/// javascript bindings, built with [napi]
|
2024-03-10 12:42:56 +01:00
|
|
|
#[cfg(feature = "js")]
|
2024-03-16 14:36:41 +01:00
|
|
|
pub mod js;
|
|
|
|
|
2024-09-04 21:37:35 +02:00
|
|
|
/// python bindings, built with [pyo3]
|
2024-03-16 14:36:41 +01:00
|
|
|
#[cfg(feature = "python")]
|
|
|
|
pub mod python;
|