andrew-d / leveldb-rs

Bindings to LevelDB for Rust
6 stars 5 forks source link

Crate name problem #2

Closed musitdev closed 9 years ago

musitdev commented 10 years ago

You remane the crate name leveldb by leveldb-rs. rustc doesn't allow - caracter in crate so I can't import the new crate name. Could you rename it to leveldb as before and like the other libs or to leveldb_rs for example? I didn't see any way to allow the leveldb-rs import.

andrew-d commented 9 years ago

Hello,

I've named the crate "leveldb-rs" to match the name of the crates.io package. You should be able to import it like:

extern crate "leveldb-rs" as leveldb;

Let me know if this works.

skade commented 9 years ago

Rust now automatically converts things like "leveldb-sys" to "leveldb_sys" for import purposes.