Repository: tower-rs/tower
Pull request #382 (2019-12-06 16:57:08)

remove service, make and layer path deps
Update crate to use released versions of tower-service, tower-make and tower-layer


Patch:
diff --git a/tower-balance/Cargo.toml b/tower-balance/Cargo.toml
index dac2f27..6aa836e 100644
--- a/tower-balance/Cargo.toml
+++ b/tower-balance/Cargo.toml
@@ -34,11 +34,11 @@ tracing = "0.1"
 rand = "0.6.5"
 tokio = { version = "0.2", features = ["sync", "time"] }
 tower-discover = { version = "0.3", path = "../tower-discover" }
-tower-layer = { version = "0.3", path = "../tower-layer" }
+tower-layer = "0.3"
 tower-load = { version = "0.3", path = "../tower-load" }
-tower-service = { version = "0.3", path = "../tower-service" }
+tower-service = "0.3"
 tower-ready-cache = { version = "0.3", path = "../tower-ready-cache" }
-tower-make = { version = "0.3", path = "../tower-make" }
+tower-make = "0.3"
 slab = "0.4"
 
 [dev-dependencies]
diff --git a/tower-buffer/Cargo.toml b/tower-buffer/Cargo.toml
index d80c838..31ae38e 100644
--- a/tower-buffer/Cargo.toml
+++ b/tower-buffer/Cargo.toml
@@ -28,8 +28,8 @@ default = ["log"]
 [dependencies]
 futures-core = "0.3"
 pin-project = "0.4"
-tower-service = { version = "0.3", path = "../tower-service" }
-tower-layer = { version = "0.3", path = "../tower-layer" }
+tower-service = "0.3"
+tower-layer = "0.3"
 tokio = { version = "0.2", features = ["rt-core", "sync"] }
 tracing = "0.1.2"
 
diff --git a/tower-discover/Cargo.toml b/tower-discover/Cargo.toml
index 5c3c24a..827403a 100644
--- a/tower-discover/Cargo.toml
+++ b/tower-discover/Cargo.toml
@@ -23,5 +23,5 @@ edition = "2018"
 
 [dependencies]
 futures-core = "0.3"
-tower-service = { version = "0.3", path = "../tower-service" }
+tower-service = "0.3"
 pin-project = "0.4"
diff --git a/tower-filter/Cargo.toml b/tower-filter/Cargo.toml
index 5b711dc..269ced1 100644
--- a/tower-filter/Cargo.toml
+++ b/tower-filter/Cargo.toml
@@ -24,8 +24,8 @@ edition = "2018"
 publish = false
 
 [dependencies]
-tower-service = { version = "0.3", path = "../tower-service" }
-tower-layer = { version = "0.3", path = "../tower-layer" }
+tower-service = "0.3"
+tower-layer = "0.3"
 pin-project = "0.4"
 futures-core = "0.3"
 
diff --git a/tower-hedge/Cargo.toml b/tower-hedge/Cargo.toml
index 3480f8b..608734c 100644
--- a/tower-hedge/Cargo.toml
+++ b/tower-hedge/Cargo.toml
@@ -8,7 +8,7 @@ publish = false
 [dependencies]
 hdrhistogram = "6.0"
 log = "0.4.1"
-tower-service = { version = "0.3", path = "../tower-service" }
+tower-service = "0.3"
 tower-filter = { version = "0.3", path = "../tower-filter" }
 tokio = { version = "0.2", features = ["time"] }
 futures-util = "0.3"
diff --git a/tower-limit/Cargo.toml b/tower-limit/Cargo.toml
index 9679752..a18fa5b 100644
--- a/tower-limit/Cargo.toml
+++ b/tower-limit/Cargo.toml
@@ -23,8 +23,8 @@ edition = "2018"
 
 [dependencies]
 futures-core = "0.3"
-tower-service = { version = "0.3", path = "../tower-service" }
-tower-layer = { version = "0.3", path = "../tower-layer" }
+tower-service = "0.3"
+tower-layer = "0.3"
 tokio-sync = "0.2.0-alpha.6"
 tokio = { version = "0.2", features = ["time"] }
 pin-project = "0.4"
diff --git a/tower-load-shed/Cargo.toml b/tower-load-shed/Cargo.toml
index 6c94b68..7312e77 100644
--- a/tower-load-shed/Cargo.toml
+++ b/tower-load-shed/Cargo.toml
@@ -23,8 +23,8 @@ categories = ["asynchronous", "network-programming"]
 edition = "2018"
 
 [dependencies]
-tower-service = { version = "0.3", path = "../tower-service" }
-tower-layer = { version = "0.3", path = "../tower-layer" }
+tower-service = "0.3"
+tower-layer = "0.3"
 pin-project = "0.4"
 futures-core = "0.3"
 
diff --git a/tower-load/Cargo.toml b/tower-load/Cargo.toml
index 6b3dda4..686b7aa 100644
--- a/tower-load/Cargo.toml
+++ b/tower-load/Cargo.toml
@@ -25,7 +25,7 @@ edition = "2018"
 futures-core = "0.3"
 log = "0.4.1"
 tokio = { version = "0.2", features = ["time"] }
-tower-service = { version = "0.3", path = "../tower-service" }
+tower-service = "0.3"
 tower-discover = { version = "0.3", path = "../tower-discover" }
 pin-project = "0.4"
 
diff --git a/tower-make/Cargo.toml b/tower-make/Cargo.toml
index b957af9..3605090 100644
--- a/tower-make/Cargo.toml
+++ b/tower-make/Cargo.toml
@@ -17,5 +17,5 @@ edition = "2018"
 connect = ["tokio"]
 
 [dependencies]
-tower-service = { version = "0.3", path = "../tower-service" }
+tower-service = "0.3"
 tokio = { version = "0.2", optional = true }
diff --git a/tower-ready-cache/Cargo.toml b/tower-ready-cache/Cargo.toml
index b110ef2..58d34f3 100644
--- a/tower-ready-cache/Cargo.toml
+++ b/tower-ready-cache/Cargo.toml
@@ -27,7 +27,7 @@ futures-util = "0.3"
 indexmap = "1.0.2"
 log = "0.4.1"
 tokio = { version = "0.2", features = ["sync"] } 
-tower-service = { version = "0.3", path = "../tower-service" } 
+tower-service = "0.3"
 
 [dev-dependencies]
 tower-test = { version = "0.3", path = "../tower-test" }
diff --git a/tower-reconnect/Cargo.toml b/tower-reconnect/Cargo.toml
index 4ff95d1..406565c 100644
--- a/tower-reconnect/Cargo.toml
+++ b/tower-reconnect/Cargo.toml
@@ -23,6 +23,6 @@ edition = "2018"
 
 [dependencies]
 log = "0.4.1"
-tower-service = { version = "0.3", path = "../tower-service" }
-tower-make = { version = "0.3", path = "../tower-make" }
+tower-service = "0.3"
+tower-make = "0.3"
 pin-project = "0.4"
diff --git a/tower-retry/Cargo.toml b/tower-retry/Cargo.toml
index 949fc41..c68f3ad 100644
--- a/tower-retry/Cargo.toml
+++ b/tower-retry/Cargo.toml
@@ -22,8 +22,8 @@ categories = ["asynchronous", "network-programming"]
 edition = "2018"
 
 [dependencies]
-tower-service = { version = "0.3", path = "../tower-service" }
-tower-layer = { version = "0.3", path = "../tower-layer" }
+tower-service = "0.3"
+tower-layer = "0.3"
 tokio = { version = "0.2", features = ["time"] }
 pin-project = "0.4"
 futures-core = "0.3"
diff --git a/tower-spawn-ready/Cargo.toml b/tower-spawn-ready/Cargo.toml
index 99dfcc1..a6f2524 100644
--- a/tower-spawn-ready/Cargo.toml
+++ b/tower-spawn-ready/Cargo.toml
@@ -25,8 +25,8 @@ edition = "2018"
 futures-core = "0.3"
 futures-util = "0.3"
 pin-project = "0.4"
-tower-service = { version = "0.3", path = "../tower-service" }
-tower-layer = { version = "0.3", path = "../tower-layer" }
+tower-service = "0.3"
+tower-layer = "0.3"
 tokio = { version = "0.2", features = ["sync"] }
 
 [dev-dependencies]
diff --git a/tower-timeout/Cargo.toml b/tower-timeout/Cargo.toml
index 58b90a3..c501249 100644
--- a/tower-timeout/Cargo.toml
+++ b/tower-timeout/Cargo.toml
@@ -22,7 +22,7 @@ categories = ["asynchronous", "network-programming"]
 edition = "2018"
 
 [dependencies]
-tower-service = { version = "0.3", path = "../tower-service" }
-tower-layer = { version = "0.3", path = "../tower-layer" }
+tower-service = "0.3"
+tower-layer = "0.3"
 tokio = { version = "0.2", features = ["time"] }
 pin-project = "0.4"
diff --git a/tower-util/Cargo.toml b/tower-util/Cargo.toml
index 8490c81..b9ad486 100644
--- a/tower-util/Cargo.toml
+++ b/tower-util/Cargo.toml
@@ -23,7 +23,7 @@ categories = ["asynchronous", "network-programming"]
 edition = "2018"
 
 [dependencies]
-tower-service = { version = "0.3", path = "../tower-service" }
+tower-service = "0.3"
 pin-project = "0.4"
 futures-util = "0.3"
 futures-core = "0.3"
diff --git a/tower/Cargo.toml b/tower/Cargo.toml
index 5314b48..d36cd16 100644
--- a/tower/Cargo.toml
+++ b/tower/Cargo.toml
@@ -30,11 +30,11 @@ full = []
 [dependencies]
 tower-buffer = { version = "0.3", path = "../tower-buffer" }
 tower-discover = { version = "0.3", path = "../tower-discover" }
-tower-layer = { version = "0.3", path = "../tower-layer" }
+tower-layer = "0.3"
 tower-limit = { version = "0.3", path = "../tower-limit" }
 tower-load-shed = { version = "0.3", path = "../tower-load-shed" }
 tower-retry = { version = "0.3", path = "../tower-retry" }
-tower-service = { version = "0.3", path = "../tower-service" }
+tower-service = "0.3"
 tower-timeout = { version = "0.3", path = "../tower-timeout" }
 tower-util = { version = "0.3", path = "../tower-util" }
 futures-core = "0.3"


Test patch:
diff --git a/tower-test/Cargo.toml b/tower-test/Cargo.toml
index e924e6a..7fe9b9b 100644
--- a/tower-test/Cargo.toml
+++ b/tower-test/Cargo.toml
@@ -24,9 +24,9 @@ edition = "2018"
 [dependencies]
 futures-util = "0.3"
 tokio = { version = "0.2", features = ["sync"]}
-tower-layer = { version = "0.3", path = "../tower-layer" }
+tower-layer = "0.3"
 tokio-test = "0.2"
-tower-service = { version = "0.3", path = "../tower-service" }
+tower-service = "0.3"
 pin-project = "0.4"
 
 [dev-dependencies]