Skip to content

Failure when using workspace with package renaming #760

@Roms1383

Description

@Roms1383

Hi and thanks for this crate I've been using it for years and always enjoyed its simplicity.

This morning I refactored one of my project to split the monolith into a workspace with types and cli for future reusability.

I renamed types into inkanim-types and use it as a dependency for cli (which is the main crate so it's officially called inkanim).

Image

To avoid having to rename all the imports I specified it this way in the cli crate:

[dependencies]
inkanim = { path = "../types", features = ["clap"], package = "inkanim-types" }
Image

Only quirk, now katyo/publish-crates@v2 does not recognize it as a workspace member, while it actually is:

Image Image

Thanks in advance for taking the time to read me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions