Skip to content
This repository was archived by the owner on Jan 18, 2025. It is now read-only.
This repository was archived by the owner on Jan 18, 2025. It is now read-only.

Is there any way to read env vars from a .env file? #235

@svanharmelen

Description

@svanharmelen

I've noticed #226 but I'm not able to get cargo watch to use my .env file. My setup involves a workspace, so next to placing the .env file in the root of the crate I'm trying to watch I also tried to place it in root of the workspace. But it didn't work in either of the cases...

Tried to search the docs/repo, but other then the one issue I can't seem to find much to go on. Would be really, really nice to be able to use my .env file, as I need quite a few vars to be set.

Thanks!

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