From ba58ee680bbacd246198ea17c443713dcc60fbd7 Mon Sep 17 00:00:00 2001 From: x Date: Wed, 7 Jun 2023 13:58:24 +0200 Subject: [PATCH] TurboPFor : Rust bindings --- TurboPFor-Integer-Compression/rust/src/lib.rs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 TurboPFor-Integer-Compression/rust/src/lib.rs diff --git a/TurboPFor-Integer-Compression/rust/src/lib.rs b/TurboPFor-Integer-Compression/rust/src/lib.rs new file mode 100644 index 0000000..1e22146 --- /dev/null +++ b/TurboPFor-Integer-Compression/rust/src/lib.rs @@ -0,0 +1,9 @@ +// prerequisites: Install TurboPFor library libic under /usr/lib or /usr/local/lib +#![allow(non_upper_case_globals)] +#![allow(non_camel_case_types)] +#![allow(non_snake_case)] +//include!(concat!(env!("OUT_DIR"), "/bindings.rs")); +include!("bindings.rs"); + +#[cfg(test)] +mod tests;