From 80ccf6aa8965c223fe9b764f17c36249e57c3ca8 Mon Sep 17 00:00:00 2001 From: "Peter M. Stahl" Date: Wed, 20 Oct 2021 00:18:16 +0200 Subject: [PATCH] Update version and documentation --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 8 ++++---- RELEASE_NOTES.md | 7 +++++++ src/lib.rs | 4 ++-- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5829598c..ce148edd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -372,7 +372,7 @@ checksum = "1cca32fa0182e8c0989459524dc356b8f2b5c10f1b9eb521b7d182c03cf8c5ff" [[package]] name = "lingua" -version = "1.3.0" +version = "1.3.1" dependencies = [ "cld2", "float-cmp 0.9.0", diff --git a/Cargo.toml b/Cargo.toml index ad3b25ae..24fecc5d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ members = ["language-models/*"] [package] name = "lingua" -version = "1.3.0" +version = "1.3.1" authors = ["Peter M. Stahl "] description = """ An accurate natural language detection library, suitable for long and short text alike diff --git a/README.md b/README.md index e4bebb55..508a8aba 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,14 @@
[![build](https://github.com/pemistahl/lingua-rs/actions/workflows/build.yml/badge.svg)](https://github.com/pemistahl/lingua-rs/actions/workflows/build.yml) -[![dependency status](https://deps.rs/crate/lingua/1.3.0/status.svg)](https://deps.rs/crate/lingua/1.3.0) +[![dependency status](https://deps.rs/crate/lingua/1.3.1/status.svg)](https://deps.rs/crate/lingua/1.3.1) [![codecov](https://codecov.io/gh/pemistahl/lingua-rs/branch/main/graph/badge.svg)](https://codecov.io/gh/pemistahl/lingua-rs) [![supported languages](https://img.shields.io/badge/supported%20languages-75-green.svg)](#supported-languages) [![Downloads](https://img.shields.io/crates/d/lingua.svg)](https://crates.io/crates/lingua) [![Docs.rs](https://docs.rs/lingua/badge.svg)](https://docs.rs/lingua) [![Crates.io](https://img.shields.io/crates/v/lingua.svg)](https://crates.io/crates/lingua) -[![Lib.rs](https://img.shields.io/badge/lib.rs-v1.3.0-blue)](https://lib.rs/crates/lingua) +[![Lib.rs](https://img.shields.io/badge/lib.rs-v1.3.1-blue)](https://lib.rs/crates/lingua) [![license](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) ## Table of Contents @@ -251,7 +251,7 @@ Add *Lingua* to your `Cargo.toml` file like so: ```toml [dependencies] -lingua = "1.3.0" +lingua = "1.3.1" ``` By default, this will download the language model dependencies for all 75 supported languages, @@ -261,7 +261,7 @@ separate features in your `Cargo.toml`: ```toml [dependencies] -lingua = { version = "1.3.0", default-features = false, features = ["french", "italian", "spanish"] } +lingua = { version = "1.3.1", default-features = false, features = ["french", "italian", "spanish"] } ``` ## 8. How to build? [Top ▲](#table-of-contents) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 1489d844..3f159ffc 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,10 @@ +## Lingua 1.3.1 (released on 19 Oct 2021) + +### Bug Fixes + +- When Chinese, Japanese or Korean were left out as Cargo features, + there were compilation errors. This has been fixed. + ## Lingua 1.3.0 (released on 19 Oct 2021) ### Features diff --git a/src/lib.rs b/src/lib.rs index 8db44a77..9e30c0ea 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -110,7 +110,7 @@ //! //! ```toml //! [dependencies] -//! lingua = "1.3.0" +//! lingua = "1.3.1" //! ``` //! //! By default, this will download the language model dependencies for all 75 supported languages, @@ -120,7 +120,7 @@ //! //! ```toml //! [dependencies] -//! lingua = { version = "1.3.0", default-features = false, features = ["french", "italian", "spanish"] } +//! lingua = { version = "1.3.1", default-features = false, features = ["french", "italian", "spanish"] } //! ``` //! //! ## 7. How to use?