summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index d45d857..5ab614c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -3,7 +3,10 @@ use pyo3::prelude::*;
mod parser;
mod telegram;
-use telegram::parse_for_telegram;
+use telegram::format_for_telegram;
+
+mod matrix;
+use matrix::format_for_matrix;
mod general;
use general::format_body;
@@ -11,6 +14,7 @@ use general::format_body;
#[pymodule]
fn slidge_style_parser(_py: Python, m: &PyModule) -> PyResult<()> {
m.add_function(wrap_pyfunction!(format_body, m)?)?;
- m.add_function(wrap_pyfunction!(parse_for_telegram, m)?)?;
+ m.add_function(wrap_pyfunction!(format_for_matrix, m)?)?;
+ m.add_function(wrap_pyfunction!(format_for_telegram, m)?)?;
Ok(())
}