Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vrischmann/zig-cassandra
- Owner: vrischmann
- License: mit
- Created: 2020-03-22T18:39:13.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T21:24:25.000Z (3 months ago)
- Last Synced: 2024-09-13T08:41:39.685Z (3 months ago)
- Topics: cassandra, cassandra-client, zig
- Language: Zig
- Homepage:
- Size: 1.04 MB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zig - vrischmann/zig-cassandra
- awesome-zig - zig-cassandra🗒️Cassandra CQL client
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`.