# rummage-sys
Raw FFI bindings to the [Rummage](https://github.com/v0l/rummage) GPU Nostr mining library.
Generated by [bindgen](https://docs.rs/bindgen) from the C bridge header (`rummage_ffi.h`). Exposes opaque handles and `extern "C"` functions for both the PoW miner (`RummagePow`) and the vanity key miner (`RummageVanity`).
**You should not use this crate directly.** Use [`rummage-rs`](https://crates.io/crates/rummage-rs) for a safe, idiomatic Rust API.
## Build Requirements
- NVIDIA CUDA Toolkit (`nvcc`)
- GMP library (`libgmp-dev`)
- g++ compiler
The CUDA compute capability defaults to 120 (Blackwell) and can be overridden:
```bash
CUDA_CCAP=89 cargo build
```