equal
deleted
inserted
replaced
27 pub mod ancestors; |
27 pub mod ancestors; |
28 mod cindex; |
28 mod cindex; |
29 mod conversion; |
29 mod conversion; |
30 pub mod dagops; |
30 pub mod dagops; |
31 pub mod dirstate; |
31 pub mod dirstate; |
|
32 pub mod parsers; |
32 pub mod discovery; |
33 pub mod discovery; |
33 pub mod exceptions; |
34 pub mod exceptions; |
34 pub mod filepatterns; |
35 pub mod filepatterns; |
35 |
36 |
36 py_module_initializer!(rustext, initrustext, PyInit_rustext, |py, m| { |
37 py_module_initializer!(rustext, initrustext, PyInit_rustext, |py, m| { |
48 m.add( |
49 m.add( |
49 py, |
50 py, |
50 "filepatterns", |
51 "filepatterns", |
51 filepatterns::init_module(py, &dotted_name)?, |
52 filepatterns::init_module(py, &dotted_name)?, |
52 )?; |
53 )?; |
|
54 m.add( |
|
55 py, |
|
56 "parsers", |
|
57 parsers::init_parsers_module(py, &dotted_name)?, |
|
58 )?; |
53 m.add(py, "GraphError", py.get_type::<exceptions::GraphError>())?; |
59 m.add(py, "GraphError", py.get_type::<exceptions::GraphError>())?; |
54 m.add( |
60 m.add( |
55 py, |
61 py, |
56 "PatternFileError", |
62 "PatternFileError", |
57 py.get_type::<exceptions::PatternFileError>(), |
63 py.get_type::<exceptions::PatternFileError>(), |