tinymist_core/
web.rs

1
2
3
4
5
6
7
8
9
10
11
//! Tinymist Web APIs.

use wasm_bindgen::prelude::*;

use crate::LONG_VERSION;

/// Gets the long version description of the library.
#[wasm_bindgen]
pub fn version() -> String {
    LONG_VERSION.clone()
}