sds 0.1.0

Rust wrapper for the Simple Dynamic Strings lib created and maintained for Redis
Documentation
//extern crate cpp_build;
extern crate gcc;

fn main() {
    // Build a Redis pseudo-library so that we have symbols that we can link
    // against while building Rust code.
    //
    // include/redismodule.h is just vendored in from the Redis project and
    // src/redismodule.c is just a stub that includes it and plays a few other
    // tricks that we need to complete the build.
    gcc::Build::new()
        .file("c/sds.c")
        .file("c/sds_ext.c")
        .include("c/")
        .compile("libsds.a");

//    gcc::compile_library()

//    gcc::Build::new()
//        .file("src/listpack.c")
//        .include("include/")
//        .compile("liblistpack.a");
    // The GCC module emits `rustc-link-lib=static=redismodule` for us.

//    cpp_build::build("src/lib.rs");
}