I’m trying to use below library in github in my rust code
My current Cargo.toml is as below
[package] name = "HomeDaemon" version = "0.1.0" authors = ["RTR <email@example.com>"] [dependencies.mosquitto] git = "https://github.com/kteza1/rust-mosquitto"
cargo build is throwing
Could not find `Cargo.toml` in `/Users/ravitejareddy/.cargo/git/checkouts/rust-mosquitto-8203e77dcf072bf7/rust-mosquitto`
Actual download in .cargo is as below where Cargo.toml is present
What’s happening here? There is an extra
rust-mosquitto in the path above. What am I doing wrong ?