hello !
i want to use crabtime in a workspace setup, in crate A. but i need to use a type defined in crate B in the compile time macro.
but: crabtime::eval or crabtime::function with [build-dependencies] dont work with path or workspace dependencies as the build crate created by crabtime path is nested inside target.
Example repro: https://github.com/mirsella/crabtime-path-dep
possible solutions idea:
- allow
#![dependency(anyhow = "1.0")] even in nightly and support more options,
for example #![dependency(anyhow = { path = "../../../../b"})]
- auto convert the relative path in
[build-dependencies] when creating the crate. probably the best solution ?
thanks !
hello !
i want to use crabtime in a workspace setup, in crate A. but i need to use a type defined in crate B in the compile time macro.
but: crabtime::eval or crabtime::function with
[build-dependencies]dont work withpathorworkspacedependencies as the build crate created by crabtime path is nested inside target.Example repro: https://github.com/mirsella/crabtime-path-dep
possible solutions idea:
#![dependency(anyhow = "1.0")]even in nightly and support more options,for example
#![dependency(anyhow = { path = "../../../../b"})][build-dependencies]when creating the crate. probably the best solution ?thanks !