#driver #cql #replace #previous #nightly #native #wraps

unmaintained bin+lib cassandra

A usable Cassandra CQL driver (this replaces the previous cql-ffi package). Wraps the DataStax c++ native driver and uses cql-bindgen via rust-bindgen. Works with nightly

25 releases

Uses old Rust 2015

0.8.1 Dec 13, 2016
0.7.3 Sep 8, 2016
0.7.2 Jun 30, 2016
0.6.10 Mar 15, 2016
0.4.0 Jul 5, 2015

#6 in #previous

Apache-2.0

325KB
5.5K SLoC

Build Status License: MPL-2.0

cassandra-rs

This is a (hopefully) maintained rust project that unsafely exposes the cpp driver at https://github.com/datastax/cpp-driver/ in a somewhat-sane crate.

For the wrapper to work, you must first have installed the datastax-cpp driver.

Follow the steps on the cpp driver docs to do so.

Make sure that the driver (specifically libcassandra_static.a and libcassandra.so) are in your /usr/local/lib64/ directory

You can use it from cargo with

    [dependencies.cassandra]
    git = "https://github.com/tupshin/cassandra-rs"

Or just

    [dependencies]
    cassandra="*"

Examples are included with the project in src/examples.

Dependencies

~10–16MB
~212K SLoC