Closed clearloop closed 1 year ago
Seems like the nasty workaround is to include package
attribute, which is ignored by rust compiler (and throws warning), but is taken into consideration by this macro - see: https://github.com/paritytech/ink/pull/1835
https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#inheriting-a-dependency-from-a-workspace
https://github.com/bkchr/proc-macro-crate/blob/1fdce5d354fdd73bbfb442820823a4b802254bd3/src/lib.rs#L179
only iterated the dependencies inside the package, once a package renamed its dependency in workspace level, the searching logic doesn't work