#safe-wrapper #driver #io #cassandra #plus #bindgen-genderated

bin+lib cassandra-sys

A bindgen-genderated rust 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

17 releases (7 breaking)

Uses old Rust 2015

0.9.0 Dec 21, 2016
0.7.0 Sep 9, 2016
0.6.0 Jun 29, 2016
0.5.1 Mar 14, 2016
0.2.3 Dec 24, 2015

#19 in #plus

Download history 1/week @ 2024-03-14 18/week @ 2024-03-28 16/week @ 2024-04-04

65 downloads per month
Used in cassandra

Apache-2.0

120KB
2.5K SLoC

Build Status License: MPL-2.0

cassandra-sys

This is the source for the cassandra-sys crate on crates.io.

It is mostly an autogenerated wrapper around the DataStax C++ CQL driver.

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

Compilation

By default, /usr/lib, /usr/local/lib64, and /usr/local/lib are added to the linker search path.

A semicolon separated list of additional directories to add to the linker search path may be specified through the CASSANDRA_SYS_LIB_PATH environment variable.

Dependencies

~8MB
~166K SLoC