Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vrischmann/zig-cassandra

Cassandra CQL client
https://github.com/vrischmann/zig-cassandra

cassandra cassandra-client zig

Last synced: 2 months ago
JSON representation

Cassandra CQL client

Awesome Lists containing this project

README

        

# Cassandra client in Zig

This was the start of a CQL client for Zig that is now unmaintained.

It hasn't been updated for years and won't compile with any recent Zig release.

# Available features

* Executing a single query without preparation
* Preparing a query and executing it later, with type-checked arguments.
* Comprehensive errors and diagnostics in case of failure.

TODO
====

* Use proper error sets for stuff
* Cleanup code that won't be used, some frames are never written by a client for example.
* Add an abstraction for a Stream
* Handle named values in a statement
* Batching
* Cluster client / client pool capable of maintaining a connection to each node in the cluster + autodiscovery with events
* Implement token-aware routing
* Need to add custom types for thins we can't infer with Zig's meta programming (things like Counter, Time, Timestamp, Timeuuid).
* Expose as a C library ?

# License

The files `src/lz4.c` and `src/lz4.h` are from [github.com/lz4/lz4](https://github.com/lz4/lz4/tree/dev) and use the license in `LICENSE.lz4`.

All other files use the license in `LICENSE`.