Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove examples from the Cargo.toml workspace to prevent compiler warning #51

Open
Sycrosity opened this issue Aug 31, 2024 · 1 comment

Comments

@Sycrosity
Copy link
Contributor

Currently, when compiling picoserve, all of the workspace members are included in the crate, leading to these being downloaded although they are never used. Removing the examples from the Cargo.toml members list, as is done in esp_hal and embassy (who don't even have a root Cargo.toml)

warning: skipping duplicate package `web_sockets` found at `/Users/[me]/.cargo/git/checkouts/picoserve-521def08cc55ec79/1f429b6/examples/embassy/web_sockets`
warning: skipping duplicate package `hello_world` found at `/Users/[me]/.cargo/git/checkouts/picoserve-521def08cc55ec79/1f429b6/examples/embassy/hello_world`
@Sycrosity
Copy link
Contributor Author

(although this is super unimportant)

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

No branches or pull requests

1 participant