From c93ef61fa38337691359b65a90f0a6d5bfc299a7 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 14 Dec 2022 11:02:16 +0000 Subject: WIP Rust HTTP for federation --- rust/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rust/src/lib.rs') diff --git a/rust/src/lib.rs b/rust/src/lib.rs index c7b60e58a7..1a19705b4f 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -1,5 +1,6 @@ use pyo3::prelude::*; +pub mod http; pub mod push; /// Returns the hash of all the rust source files at the time it was compiled. @@ -26,6 +27,7 @@ fn synapse_rust(py: Python<'_>, m: &PyModule) -> PyResult<()> { m.add_function(wrap_pyfunction!(get_rust_file_digest, m)?)?; push::register_module(py, m)?; + http::register_module(py, m)?; Ok(()) } -- cgit 1.5.1