I have a root crate, which contains two crates, one of which contains multiple crates. I import an crate but error in the outermost layer. Is this not allowed for cargo
I haven't seen such a configuration in books, materials and many crates. Is it not supported
By the way, the readability of this tree structure is too poor. If the community has a setting that supports tree directory structure, it will be very convenient
I don't think it makes sense to have a crate be a member of more than one workspace. Quoting the rust book "A workspace is a set of packages that share the same Cargo.lock and output directory."
What is your goal with this arrangement? Workspaces aren't all that common, and I would guess from what you're describing that what you want might be a single crate with multiple modules.