diff --git a/Cargo.toml b/Cargo.toml index 316b652..e2518a3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hypher" -version = "0.1.0" +version = "0.1.1" authors = ["Laurenz "] edition = "2021" description = "hypher separates words into syllables." diff --git a/README.md b/README.md index 689beaa..ff1b454 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ added: [dependencies] hypher = { version = "0.1", default-features = false, features = ["english", "greek"] } ``` + Each language added individually contributes: | Language | Space | diff --git a/src/lib.rs b/src/lib.rs index 83f2be8..fccac3b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -41,13 +41,13 @@ assert_eq!(syllables.next(), None); /*! # Languages By default, this crate supports hyphenating more than 30 languages. Embedding -automata for all these languages will add ~1.1 MB to your binary. Alternatively, -you can selectively enable individual languages. For example, you can embed just -english as shown below and then only 27 KB will be added to your binary. +automata for all these languages will add ~1.1 MiB to your binary. Alternatively, +you can disable support for all languages and manually choose which ones get +added: ```toml [dependencies] -hypher = { version = "0.1", default-features = false, features = ["english"] } +hypher = { version = "0.1", default-features = false, features = ["english", "greek"] } ``` */