anki/pylib/tools
Damien Elmes bac05039a7 Move protobuf generation into a separate crate; write .py interface in Rust
A couple of motivations for this:

- genbackend.py was somewhat messy, and difficult to change with the
lack of types. The mobile clients used it as a base for their generation,
so improving it will make life easier for them too, once they're ported.
- It will make it easier to write a .ts generator in the future
- We currently implement a bunch of helper methods on protobuf types
which don't allow us to compile the protobuf types until we compile
the Anki crate. If we change this in the future, we will be able to
do more of the compilation up-front.

We no longer need to record the services in the proto file, as we can
extract the service order from the compiled protos. Support for map types
has also been added.
2023-06-12 09:52:00 +10:00
..
genbuildinfo.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
genfluent.py Update Python deps 2023-03-31 14:04:05 +10:00
genhooks.py Add a hook that allows to edit a note before it is added. (#2481) 2023-04-27 15:34:33 +10:00
hookslib.py Facilitate hook updating/replacement (#2213) 2022-12-07 15:39:57 +10:00