put python stuff behind feature=python

This commit is contained in:
James Turk 2023-03-26 19:28:59 -05:00
parent 586c498970
commit 16f2f78fe7
1 changed files with 5 additions and 2 deletions

View File

@ -5,7 +5,6 @@ mod levenshtein;
mod match_rating;
mod metaphone;
mod nysiis;
mod rustyfish;
mod soundex;
mod testutils;
@ -21,5 +20,9 @@ pub use levenshtein::{
pub use match_rating::{match_rating_codex, match_rating_comparison};
pub use metaphone::metaphone;
pub use nysiis::nysiis;
pub use rustyfish::_rustyfish;
pub use soundex::soundex;
#[cfg(feature = "python")]
mod rustyfish;
#[cfg(feature = "python")]
pub use rustyfish::_rustyfish;