aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2020-07-05 11:37:17 +0900
committer坂本 貴史 <o-takashi@sakamocchi.jp>2020-07-05 13:38:40 +0900
commite4f2dd01e8d361b6b4c998c5d3a50c020915d7da (patch)
tree3fad8401c8d71637d22c3e39f992910a6062ee19
parent90f6674c61e40ec5624241afced6ff4aaa65c9d4 (diff)
downloadhinawa-rs-e4f2dd01e8d361b6b4c998c5d3a50c020915d7da.tar.gz
improve dependencies definition on produced crates
When uploaded to crates.io, crates lose any path dependency in Cargo.toml. In the case, version information should be added in advance so that crates.io pick it up. This commit is a preparation to upload all of included crates to crate.io. All of dependencies to included crate have both of path dependency and version information planned on crates.io. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
-rw-r--r--hinawa/Cargo.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/hinawa/Cargo.toml b/hinawa/Cargo.toml
index d07a2bf..39cfaaa 100644
--- a/hinawa/Cargo.toml
+++ b/hinawa/Cargo.toml
@@ -13,7 +13,8 @@ libc = "0.2"
glib = "0.10"
glib-sys = "0.10"
gobject-sys = "0.10"
-hinawa-sys = { path = "../hinawa-sys" }
+
+hinawa-sys = { path = "../hinawa-sys", version = "0.1" }
[dev-dependencies]
gir-format-check = "^0.1"