I have a crate (https://github.com/wilbertom/bichannels) that is not registered on crates.io. I would like to add it to my current crate, as a dependency. I've tried going into its directory (placed inside the outer crate) and running cargo install
, but that doesn't work, instead, giving this error:
error: no packages found with binaries or examples
So it appears that one can only install a binary crate, but how do I add a library crate to my dependencies? I've tried adding:
bichannels = "*"
to my Cargo.toml but that just says that this package is not on crates.io.