18 lines
453 B
Rust
18 lines
453 B
Rust
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
//! Lua scripting and modding support for Synvael.
|
|
//!
|
|
//! This crate handles the integration with Lua (via `mlua`) and provides
|
|
//! the API surface for both base game content and third-party mods.
|
|
|
|
/// Adds two numbers together.
|
|
///
|
|
/// This is a placeholder function for the initial crate setup.
|
|
pub fn add(left: u64, right: u64) -> u64 {
|
|
left + right
|
|
}
|
|
|
|
#[cfg(test)]
|
|
#[path = "tests/lib.rs"]
|
|
mod tests;
|