Skip to content

Doesn't build with no feature flags #48

Description

@Pr0methean

It shouldn't be necessary to keep any feature flags enabled when I just need an in-memory filter, and I suspect that the cli feature is interfering with my custom SIGINT/SIGTERM handler. But when I try to import it with default-features = false I get:

error[E0432]: unresolved import `super::storage`
 --> ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/expiring-bloom-rs-0.4.10/src/bloom/filter.rs:3:5
  |
3 |     storage::FjallBackend,
  |     ^^^^^^^ could not find `storage` in `super`
  |
note: found an item that was configured out
 --> ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/expiring-bloom-rs-0.4.10/src/bloom.rs:6:9
  |
5 | #[cfg(feature = "fjall")]
  |       ----------------- the item is gated behind the `fjall` feature
6 | pub mod storage;
  |         ^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions