diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2020-07-05 11:37:17 +0900 |
---|---|---|
committer | 坂本 貴史 <o-takashi@sakamocchi.jp> | 2020-07-05 13:38:40 +0900 |
commit | 90f6674c61e40ec5624241afced6ff4aaa65c9d4 (patch) | |
tree | 4541ad2ae9b8ecb34cdfe065b778a9a275b1ffb0 | |
parent | 8d99fccde529970dcb0a89adc2a61fc9e18d0e03 (diff) | |
download | hinawa-rs-90f6674c61e40ec5624241afced6ff4aaa65c9d4.tar.gz |
download glib related crates from crates.io instead of github.com
When under development, glib related crates are downloaded from
official repository in github.com and HEAD is used. They are nightly
and better for development. For published version, usage of crates
in crates.io is preferable.
This commit replaces dependency directives to download the crates from
crates.io. The crates compatible to "0.10" version are used.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
-rw-r--r-- | hinawa-sys/Cargo.toml | 7 | ||||
-rw-r--r-- | hinawa/Cargo.toml | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/hinawa-sys/Cargo.toml b/hinawa-sys/Cargo.toml index 34a9129..561d684 100644 --- a/hinawa-sys/Cargo.toml +++ b/hinawa-sys/Cargo.toml @@ -14,11 +14,8 @@ name = "hinawa_sys" [dependencies] libc = "0.2" -[dependencies.glib-sys] -git = "https://github.com/gtk-rs/sys" - -[dependencies.gobject-sys] -git = "https://github.com/gtk-rs/sys" +glib-sys = "0.10" +gobject-sys = "0.10" [build-dependencies] pkg-config = "0.3.7" diff --git a/hinawa/Cargo.toml b/hinawa/Cargo.toml index ddd83ef..d07a2bf 100644 --- a/hinawa/Cargo.toml +++ b/hinawa/Cargo.toml @@ -9,9 +9,10 @@ name = "hinawa" [dependencies] libc = "0.2" -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" hinawa-sys = { path = "../hinawa-sys" } [dev-dependencies] |