Skip to content

Remove env from [package.metadata.leptos] to suppress cargo-leptos warning#21

Open
ykomatsu wants to merge 1 commit intoleptos-rs:mainfrom
ykomatsu:remove-env
Open

Remove env from [package.metadata.leptos] to suppress cargo-leptos warning#21
ykomatsu wants to merge 1 commit intoleptos-rs:mainfrom
ykomatsu:remove-env

Conversation

@ykomatsu
Copy link
Copy Markdown

When building with the start-axum template, the following warning appears:

$ cargo leptos watch
    Metadata keys ["env"] from metadata.leptos are not recognized and will be ignored
...

The env key in [package.metadata.leptos] is not used by cargo-leptos, and LEPTOS_ENV itself
does not appear to be used by Leptos internally either, so I think it should be removed.

leptos-rs/leptos#2011 (reply in thread)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant