Question about internal crates import

Are you wanting nested workspaces? They aren't supported as of yet. There are some workarounds. Your exact situation will be more clear if you share your Cargo.toml contents.

If you have/install the tree command [1], you can run that [2] and paste its output into a ```text block.

.
├── Cargo.lock
├── Cargo.toml
└── src
    ├── lib.rs
    └── main.rs
.
|-- Cargo.lock
|-- Cargo.toml
`-- src
    |-- lib.rs
    `-- main.rs

  1. on a unix-like anyway ↩︎

  2. or tree -I target or maybe tree -I target --charset ascii if you have a non-UTF locale ↩︎

2 Likes