leptos-rs / cargo-leptos

Build tool for Leptos (Rust)
MIT License
314 stars 87 forks source link

cargo-leptos should check that the project name doesn't conflict with the names of dependencies #270

Open vkomenda opened 1 month ago

vkomenda commented 1 month ago

If I create a new project with $ cargo leptos new --git leptos-rs/start-axum and call it leptos-axum, I get compile errors because one of the crates is called leptos_axum.

$ cargo leptos watch
...
error[E0464]: multiple candidates for `rlib` dependency `leptos_axum` found
 --> src/main.rs:7:9
  |
7 |     use leptos_axum::app::*;
  |         ^^^^^^^^^^^