# Confusables [![Build & Tests](https://github.com/AntoniosBarotsis/confusables/actions/workflows/ci.yml/badge.svg)](https://github.com/AntoniosBarotsis/confusables/actions/workflows/ci.yml) [![Crates.io](https://img.shields.io/crates/v/confusables)](https://crates.io/crates/confusables) [![docs.rs](https://img.shields.io/docsrs/confusables)](https://docs.rs/confusables/) A Rust crate that provides utilities around Unicode confusables/homoglyphs. Specifically about: - detecting confusable characters in strings - replacing confusable characters (according to the [data file](http://www.unicode.org/Public/security/revision-03/confusables.txt) specified in the [UnicodeĀ® Technical Standard](https://www.unicode.org/reports/tr39/)) - confusable-resilient operations (equality, contains) on strings The Unicode data file is parsed at compile time so there is no extra overhead at runtime. ## Get Started All the new methods are implemented as part of a trait which you will need to import: ```rust use confusables::Confusable; ``` All methods come with code examples so be sure to check those!