Skip to content

"no package or project section found" for git dependency with workspace #3025

@nikomatsakis

Description

@nikomatsakis

For LALRPOP, I am using a setup like this:

and so forth. Basically there is an empty workspace at the root, and crates in their own directories. But this setup doesn't work well with git dependencies:

Updating git repository `https://github.com/nikomatsakis/lalrpop.git`
error: Unable to update https://github.com/nikomatsakis/lalrpop.git

Caused by:
  failed to parse manifest at `/Users/nmatsakis/.cargo/git/checkouts/lalrpop-3c5328ed66fab364/master
/Cargo.toml`

Caused by:
  no `package` or `project` section found.

Or maybe this setup is not recommended? I thought it was one of the expected usage patterns for workspaces though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions