rust/hg-cpython/src/lib.rs
changeset 42217 13b64247f48f
parent 41705 0c7b353ce100
child 42330 e240bec26626
--- a/rust/hg-cpython/src/lib.rs	Tue Feb 19 23:42:31 2019 +0100
+++ b/rust/hg-cpython/src/lib.rs	Wed Feb 20 09:04:39 2019 +0100
@@ -28,6 +28,7 @@
 mod cindex;
 mod conversion;
 pub mod dagops;
+pub mod discovery;
 pub mod exceptions;
 
 py_module_initializer!(rustext, initrustext, PyInit_rustext, |py, m| {
@@ -40,6 +41,7 @@
     let dotted_name: String = m.get(py, "__name__")?.extract(py)?;
     m.add(py, "ancestor", ancestors::init_module(py, &dotted_name)?)?;
     m.add(py, "dagop", dagops::init_module(py, &dotted_name)?)?;
+    m.add(py, "discovery", discovery::init_module(py, &dotted_name)?)?;
     m.add(py, "GraphError", py.get_type::<exceptions::GraphError>())?;
     Ok(())
 });