daniel-e / captcha

CAPTCHA library written in Rust.
MIT License
98 stars 20 forks source link

Feature request : Add set_chars? #6

Closed dessalines closed 4 years ago

dessalines commented 4 years ago

For internationalization, I'd like to be able to generate just number characters.

I can do this manually, but I'd need a captcha.set_chars(my_numbers).

daniel-e commented 4 years ago

Have added the method add_chars(). Please note: the current font has to support these characters. You can get the list of supported characters by calling the method supported_chars().

dessalines commented 4 years ago

Thanks!