I'm trying to use the rust-mosquitto library. My current Cargo.toml is:
[package]
name = "HomeDaemon"
version = "0.1.0"
authors = ["RTR <[email protected]>"]
[dependencies.mosquitto]
git = "https://github.com/kteza1/rust-mosquitto"
When I run cargo build, following error is reported:
Could not find `Cargo.toml` in `/Users/ravitejareddy/.cargo/git/checkouts/rust-mosquitto-8203e77dcf072bf7/rust-mosquitto`
The actual download in ~/.cargo/git/checkouts/rust-mosquitto-8203e77dcf072bf7/master shows that Cargo.toml is present.
There is an extra rust-mosquitto in the path above, is that a problem?