18 lines
329 B
Rust
18 lines
329 B
Rust
use wasm_bindgen::prelude::*;
|
|||
|
|
|
||
|
|
/// Placeholder for WASM image processing.
|
||
|
|
/// Full implementation in Phase 2.2.
|
||
|
|
#[wasm_bindgen]
|
||
|
|
pub fn greet() -> String {
|
||
|
|
"tools-wasm: ready".to_string()
|
||
|
|
}
|
||
|
|
|
||
|
|
#[cfg(test)]
|
||
|
|
mod tests {
|
||
|
|
use super::*;
|
||
|
|
|
||
|
|
#[test]
|
||
|
|
fn test_greet() {
|
||
|
|
assert_eq!(greet(), "tools-wasm: ready");
|
||
|
|
}
|
||
|
|
}
|