# antic-rs This is a wrapper for the [antic library for algebraic number theory](https://github.com/wbhart/antic). Great library in terms of functionality, but the API is terrible because it's written in C! No borrow checking, no lifetime management, and worst of all, no RAII, so you have to remember to initialise and free objects yourself. All of this can be solved by providing a safe Rust wrapper library. This is mainly implemented for benchmarks in the code for [our cyclotomic field library](https://github.com/CyclotomicFields/cyclotomic). To compile this you need to have antic and flint installed. ## bindgen invocation The `src/bindings.rs` source file is generated by the script `generate_bindings.sh`, which does some magic to get `bindgen` to generate legal Rust code.