diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2020-07-05 12:29:05 +0900 |
---|---|---|
committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2020-07-05 12:32:04 +0900 |
commit | 626e4a817d8eb1b6c965a5a31f0bba3f181322dd (patch) | |
tree | 826ab08ed0a37ba62cd4ba546eb85e0703e1866a | |
parent | 664b78d856db60d15074733cb31d3405d381e5e5 (diff) | |
download | hinoko-rs-626e4a817d8eb1b6c965a5a31f0bba3f181322dd.tar.gz |
se flexible compatibility definitions to glib/glib-sys/gobject-sys 0.10
All of included Cargo.toml have fixed version compatibility to
glib/glib-sys/gobject-sys crate. This is not flexible because it brings
trouble in the case that users would like to adopt updated version of
the crate.
This commit fixes the issue to use flexible compatibility definition to
the crate. The short representation "0.10" is used without explicit caret.
As a result, crates version equals to, newer than 0.10.0, and less than
0.11.0 is available. In detail, please refer to 'Caret requirements'
described in the document below:
https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
-rw-r--r-- | hinoko/Cargo.toml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hinoko/Cargo.toml b/hinoko/Cargo.toml index 32dfb24..b0a3ae7 100644 --- a/hinoko/Cargo.toml +++ b/hinoko/Cargo.toml @@ -9,9 +9,9 @@ name = "hinoko" [dependencies] libc = "0.2" bitflags = "1.0" -glib = { git = "https://github.com/gtk-rs/glib" } -glib-sys = { git = "https://github.com/gtk-rs/sys" } -gobject-sys = { git = "https://github.com/gtk-rs/sys" } +glib = "0.10" +glib-sys = "0.10" +gobject-sys = "0.10" hinoko-sys = { path = "../hinoko-sys" } [dev-dependencies] |