Cargo Features

rphonetic has no features set by default.

[dependencies]
rphonetic = { version = "3.0.0", features = ["embedded", "embedded_bm", "embedded_dm"] }
embedded = embedded_bm, embedded_dm

There is two features that provide default rules and Default implementation for some struct. They are not enabled by default as files are embedded into code, so it might increase binary size. It’s best to provide rules by your own. Shorthand for embedded_bm and embedded_dm

embedded_bm embedded?

Beider-Morse rules. It includes only any language and other files that are required. All file can be found in commons-codec repository

embedded_dm embedded?

Daitch-Mokotoff rules. They can be also found in commons-codec repository