reem / rust-typemap

A typesafe store keyed by types and containing different types of values.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Specified package has no binaries

Flaise opened this issue · comments

When I try to install:

$ cargo install typemap
    Updating registry `https://github.com/rust-lang/crates.io-index`
 Downloading typemap v0.3.3
error: specified package has no binaries

Did I get the crates.io package name right? Is there something I'm doing wrong?

cargo install is for installing packages that result in a binary - packages with a main function. typemap is a library, you use it by adding it to your Cargo.toml in the project you want to use it in.

See the crates.io getting started guide in particular the adding a dependency section.