summary history branches tags files
commit:a620ba612fc5e74c731bf5be9db02b1dcb96c80a
author:Trevor Bentley
committer:Trevor Bentley
date:Sat May 13 18:35:16 2017 +0200
parents:4a09e99ce4ea74e813bfc9e9dd5112ec4c6969ea
Use submodules for dependencies without a Cargo release
diff --git a/.gitmodules b/.gitmodules
line changes: +6/-0
index 0000000..e9ce6d8
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,6 @@
+[submodule "deps/hyper"]
+	path = deps/hyper
+	url = https://github.com/hyperium/hyper
+[submodule "deps/systray-rs"]
+	path = deps/systray-rs
+	url = https://github.com/mrmekon/systray-rs

diff --git a/Cargo.toml b/Cargo.toml
line changes: +5/-3
index 85552bc..b44cb19
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,6 +5,7 @@ authors = [ "Trevor Bentley <trevor@trevorbentley.com>" ]
 
 description = "Spotify Connect library and systray/menubar application for controlling Spotify devices."
 keywords = ["spotify", "connect", "spotify connect", "webapi", "systray", "menubar"]
+categories = ["api-bindings"]
 homepage = "https://github.com/mrmekon/connectr"
 repository = "https://github.com/mrmekon/connectr"
 license = "Apache-2.0"
@@ -44,8 +45,8 @@ ctrlc = "3.0.1"
 
 [target."cfg(windows)".dependencies]
 #systray = "0.1.1"
-#systray = {path = "../systray-rs"}
-systray = {git = "https://github.com/mrmekon/systray-rs.git"}
+#systray = {git = "https://github.com/mrmekon/systray-rs.git"}
+systray = {path = "deps/systray-rs", version="0.1.1-connectr"}
 
 [target."cfg(all(unix, not(target_os = \"macos\")))".dependencies]
 
@@ -59,6 +60,7 @@ version = "0.2.2"
 features = ["exception"]
 
 [dev-dependencies]
-hyper = {git = "https://github.com/hyperium/hyper"}
+#hyper = {git = "https://github.com/hyperium/hyper"}
+hyper = {path = "deps/hyper", version="0.11.0-a.0"}
 futures = "0.1.11"
 lazy_static = "0.2"

diff --git a/deps/hyper b/deps/hyper
line changes: +1/-0
index 0000000..33eb8f9
--- /dev/null
+++ b/deps/hyper
@@ -0,0 +1 @@
+Subproject commit 33eb8f95a3537cfd02aa4956a69dedd0c840a604

diff --git a/deps/systray-rs b/deps/systray-rs
line changes: +1/-0
index 0000000..fc45f8c
--- /dev/null
+++ b/deps/systray-rs
@@ -0,0 +1 @@
+Subproject commit fc45f8c3617fdc5fdd45da62dfc222a81e3ca5f7