Skip to content

Commit

Permalink
Upgrade to enchant-2
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar committed May 22, 2019
1 parent 39ef1d2 commit 032c3c1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "enchant"
version = "0.1.1"
version = "0.2.0"
authors = ["Jan Tojnar <jtojnar@gmail.com>"]
description = "Bindings for Enchant spell checking library"
repository = "https://github.com/patronus-checker/enchant-rs.git"
Expand All @@ -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"}
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion enchant-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "enchant-sys"
version = "0.1.0"
version = "0.2.0"
authors = ["Jan Tojnar <jtojnar@gmail.com>"]
description = "FFI bindings to Enchant"
license = "LGPL-2.1"
Expand Down
4 changes: 2 additions & 2 deletions enchant-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

0 comments on commit 032c3c1

Please sign in to comment.