leptos-rs / cargo-leptos

Build tool for Leptos (Rust)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

vkomenda opened this issue · comments

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::*;
  |         ^^^^^^^^^^^