Skip to content

Cannot import non "library" features in dev-dependencies  #577

@orkunkl

Description

@orkunkl

I am currently building a NFT project that imports cw721-metadata-onchain. I assume the same problem will be relevant here.

Imported cw721-metadata-onchain with library feature in dependencies, but since I am using multitest library for testing, I need entry package which is ignored in dev-dependencies. This makes it impossible to use multitest and have reduced binary size at the same time.

Made research and found updating to resolver to version 2. Yet I could not make it work and above my rust knowledge :(

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