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:
parent
a1600826a2
commit
bc96fd60f2
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue