#cql #bindgen

bin+lib cql_bindgen

A rust-bindgen ffi wrapper around the Cassandra c++ driver plus working examples with no additional dependencies. You probably want to use the "cassandra" crate that provides a safe wrapper

18 releases

Uses old Rust 2015

0.2.0 Dec 18, 2015
0.1.3 Sep 18, 2015
0.0.15 Sep 8, 2015
0.0.14 Jul 5, 2015
0.0.1 Feb 15, 2015
Download history 61/week @ 2023-10-29 39/week @ 2023-11-05 23/week @ 2023-11-12 46/week @ 2023-11-19 100/week @ 2023-11-26 16/week @ 2023-12-03 21/week @ 2023-12-10 43/week @ 2023-12-17 58/week @ 2023-12-24 15/week @ 2023-12-31 24/week @ 2024-01-07 43/week @ 2024-01-14 36/week @ 2024-01-21 85/week @ 2024-01-28 18/week @ 2024-02-04 80/week @ 2024-02-11

238 downloads per month
Used in 2 crates (via cql_ffi)

Apache-2.0

200KB
4K SLoC

cql-bindgen

This is the source for the cql_bindgen crate on crates.io.

It is mostly an autogenerated wrapper around the DataStax C++ CQL driver, but also contains a few helper methods.

It also includes a fairly complete set of examples equivalent to the ones in the C++ repository.

It is quite possible to use this crate directly from your rust code, but it will mean littering unsafe all over the place.

Instead it is recommended that you use the safe wrapper of this ffi interface. https://crates.io/crates/cassandra

Dependencies

~4MB
~83K SLoC