Actually you didn't need to reinstall rust. The rustup utility is capable of keeping several different tool chains at once. You should have run:
This would set default tool chain to nightly version, and following cargo commands would use nightly version of rust.
mini_leo doesn't have any GUI yet, so it can't be run on its own. I haven't decided which GUI to use yet.
At its current state mini_leo is just a python extension module. Copy mini_leo.dll somewhere on PYTHONPATH and try importing "_minileo".
import _minileo
t1 = _minileo.load_leo('leo/core/LeoPyRef.leo')
print(f'total number of nodes {_minileo.tree_len(t1)}')
for level, v in _minileo.iternodes(t1):
print('-'*level, v.h)
t1 in the above example is just an int, a handle to loaded outline. Many _minileo functions expect an outline handle as their first argument.
Function iternodes(outlinehandle) returns a generator which yields tuples (level, vdata). VData instances have h, b, and gnx fields. To actually change tree one must use _minileo functions. Yielded vdata instances are just copies taken from the tree, so changing them won't change the original.
Function outline_from_str(content) parses the content which should be in leo-thin-5 format, and returns a handle to the loaded outline. The outline_from_file is the same just reads content from the given file. The outline_from_leo_str and outline_from_leo_file functions expect xml content and return outline handle.
I don't have much time now to write or to work on Leo. I hope next week I will continue to work on the #1598 and write more about it.
I've attached small python script that demonstrate using mini_leo extension for loading Leo outline into Leo commander c.
HTH Vitalije