From bc96fd60f283816983114c67a119b1df7bed8fa6 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 18 Nov 2021 13:25:29 +0100 Subject: [PATCH] Use both version and path for macro dependency This will use the path when available and use the version otherwise. Can be kept in releases and the development repo and will do the right thing. (I was very surprised for a while that the main crate wasn't picking up my changes to the macro.) --- epp-client/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epp-client/Cargo.toml b/epp-client/Cargo.toml index 901ebb7..d113b7e 100644 --- a/epp-client/Cargo.toml +++ b/epp-client/Cargo.toml @@ -10,7 +10,7 @@ repository = "https://github.com/masalachai/epp-client" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -epp-client-macros = "0.1" # { path = "../epp-client-macros" } +epp-client-macros = { version = "0.1", path = "../epp-client-macros" } bytes = "1" chrono = "0.4" env_logger = "0.9"