#wrapper #driver #safe #sys #crates #basic #search #cassandra #plus

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
Download history 11/week @ 2023-10-18 34/week @ 2023-10-25 23/week @ 2023-11-01 17/week @ 2023-11-08 12/week @ 2023-11-15 50/week @ 2023-11-22 76/week @ 2023-11-29 8/week @ 2023-12-06 26/week @ 2023-12-13 28/week @ 2023-12-20 27/week @ 2023-12-27 7/week @ 2024-01-03 12/week @ 2024-01-10 11/week @ 2024-01-17 58/week @ 2024-01-24 61/week @ 2024-01-31

143 downloads per month
Used in cassandra

Apache-2.0

120KB
2.5K SLoC

Build Status Current Version 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

~5.5–7.5MB
~156K SLoC