Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

Add top-level Cargo.toml workspace definition per zome #83

Description

@maackle

Whenever running hc generate, I get this warning. It seems like it would be a good idea to generate a top-level Cargo.toml to create a workspace, which will not only squelch this error but help zomes work better with IDEs.

hc g zomes/hosts
> cargo init --lib --vcs none
warning: compiling this new crate may not work due to invalid workspace configuration

current package believes it's in a workspace when it's not:
current:   /Users/michael/Holo/hosting-app/zomes/hosts/code/./Cargo.toml
workspace: /Users/michael/Holo/hosting-app/Cargo.toml

this may be fixable by adding `zomes/hosts/code` to the `workspace.members` array of the manifest located at: /Users/michael/Holo/hosting-app/Cargo.toml
     Created library package

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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