From 032c3c165b8bce2563e576c9fe86b23d3a13094a Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Wed, 22 May 2019 17:36:44 +0200 Subject: [PATCH] Upgrade to enchant-2 --- Cargo.toml | 4 ++-- NEWS.md | 3 +++ enchant-sys/Cargo.toml | 2 +- enchant-sys/build.rs | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7bf0d8e..b4714a9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "enchant" -version = "0.1.1" +version = "0.2.0" authors = ["Jan Tojnar "] description = "Bindings for Enchant spell checking library" repository = "https://github.com/patronus-checker/enchant-rs.git" @@ -9,4 +9,4 @@ keywords = ["enchant", "spell", "spellcheck"] license = "LGPL-2.1" [dependencies] -enchant-sys = {path = "enchant-sys", version = "0.1"} +enchant-sys = {path = "enchant-sys", version = "0.2"} diff --git a/NEWS.md b/NEWS.md index b075133..f30ef00 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,6 @@ +### v0.2.0 (2019-05-22) +* Ported to Enchant 2.0. + ### v0.1.1 (2019-05-22) * Passing an empty string to `Dict.check` now returns `Err` instead of asserting in Enchant. diff --git a/enchant-sys/Cargo.toml b/enchant-sys/Cargo.toml index abff7fc..f549efd 100644 --- a/enchant-sys/Cargo.toml +++ b/enchant-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "enchant-sys" -version = "0.1.0" +version = "0.2.0" authors = ["Jan Tojnar "] description = "FFI bindings to Enchant" license = "LGPL-2.1" diff --git a/enchant-sys/build.rs b/enchant-sys/build.rs index cd63de2..269fc34 100644 --- a/enchant-sys/build.rs +++ b/enchant-sys/build.rs @@ -2,7 +2,7 @@ extern crate pkg_config; fn main() { pkg_config::Config::new() - .atleast_version("1.6") - .probe("enchant") + .atleast_version("2.0") + .probe("enchant-2") .unwrap(); }