Closed ccouzens closed 3 years ago
I have a list of variables from tesseract itself.
That get converted by build.rs to an enum that represents them.
And I have a set_variable method that uses it.
https://github.com/houqp/leptess/issues/31
I'm aware that the build.rs file isn't the best. In particular, I wish I could get some test cases for to_variant_case. Unfortunately tests aren't run inside of build.rs files.
to_variant_case
I have a list of variables from tesseract itself.
That get converted by build.rs to an enum that represents them.
And I have a set_variable method that uses it.
https://github.com/houqp/leptess/issues/31
I'm aware that the build.rs file isn't the best. In particular, I wish I could get some test cases for
to_variant_case
. Unfortunately tests aren't run inside of build.rs files.