Skip to content

Using local modules #15

Open
Open
@viniciusd

Description

@viniciusd

First of all, congrats for the awesome work you've put in here!

I've got the following files:

src
├── foo.rs
├── lib.rs
├── main.rs

I am trying to use some content from my lib, but the imports won't resolve even if I use cargo play src/main.rs src/lib.rs src/foo.rs

How can I use my own library?

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions