jedisct1 / rust-bloom-filter

A fast Bloom filter implementation in Rust
BSD 2-Clause "Simplified" License
235 stars 51 forks source link

The version of rust-bloom-filter on crates.io does not build on stable. #3

Closed KieranHunt closed 9 years ago

KieranHunt commented 9 years ago
Compiling bloomfilter v0.0.9
/Users/kieran/.cargo/registry/src/github.com-1ecc6299db9ec823/bloomfilter-0.0.9/src/bloomfilter/lib.rs:21:5: 21:20 error: unresolved import `std::num::Float`. There is no `Float` in `std::num`
/Users/kieran/.cargo/registry/src/github.com-1ecc6299db9ec823/bloomfilter-0.0.9/src/bloomfilter/lib.rs:21 use std::num::Float;
                                                                                                              ^~~~~~~~~~~~~~~
/Users/kieran/.cargo/registry/src/github.com-1ecc6299db9ec823/bloomfilter-0.0.9/src/bloomfilter/lib.rs:22:5: 22:22 error: unresolved import `collections::bitv`. There is no `bitv` in `collections`
/Users/kieran/.cargo/registry/src/github.com-1ecc6299db9ec823/bloomfilter-0.0.9/src/bloomfilter/lib.rs:22 use collections::bitv;
                                                                                                              ^~~~~~~~~~~~~~~~~
error: aborting due to 2 previous errors
Could not compile `bloomfilter`.

To learn more, run the command again with --verbose.

Compiling straight from this git repo works fine though.

KieranHunt commented 9 years ago

I just saw your commit about requiring Rust nightly. Closing this.