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.)
This commit is contained in:
Dirkjan Ochtman 2021-11-18 13:25:29 +01:00 committed by masalachai
parent a1600826a2
commit bc96fd60f2
1 changed files with 1 additions and 1 deletions

View File

@ -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 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
epp-client-macros = "0.1" # { path = "../epp-client-macros" } epp-client-macros = { version = "0.1", path = "../epp-client-macros" }
bytes = "1" bytes = "1"
chrono = "0.4" chrono = "0.4"
env_logger = "0.9" env_logger = "0.9"