• Stars
    star
    6
  • Rank 2,539,965 (Top 51 %)
  • Language
    Zig
  • License
    MIT License
  • Created over 4 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Cassandra CQL client

Cassandra client in Zig

This is a work in progress Cassandra client in Zig.

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 and use the license in LICENSE.lz4.

All other files use the license in LICENSE.

More Repositories

1

zig-sqlite

zig-sqlite is a small wrapper around sqlite's C API, making it easier to use with Zig.
C
367
star
2

envconfig

Small library to read your configuration from environment variables
Go
241
star
3

tree-sitter-templ

JavaScript
76
star
4

go-metrics-influxdb

This is a reporter for the go-metrics library which will post the metrics to InfluxDB
Go
69
star
5

zig-prometheus

Prometheus/VictoriaMetrics client library for Zig
Zig
49
star
6

ansible-role-java

Ansible role to install the Oracle JDK/JRE
48
star
7

zig-io_uring-http-server

Zig
42
star
8

rdbtools

A Redis RDB parser
Go
24
star
9

userdir

Go package to get user directories
Go
15
star
10

logfmt

Library and tools to work with logfmt (see https://brandur.org/logfmt)
Go
12
star
11

naspm

Simple power management for my NAS.
Go
10
star
12

zig-sqlite-vtab-demo

Demo of building virtual tables for SQLite using `zig-sqlite`
Zig
4
star
13

zig-sqlite-demo

Basic demo of zig-sqlite
Zig
4
star
14

koff

koff is a small tool to get information about Kafka offsets.
Go
4
star
15

kcm

Create, launch and remove local Kafka clusters for development and testing
Go
4
star
16

jsonutil

collection of types implementing json.Marshaler and json.Unmarshaler
Go
4
star
17

zig-async_io_uring

Zig
4
star
18

zik

Music library explorer
Zig
2
star
19

hutil

set of helpers to work with net/http
Go
2
star
20

ansible-restic

Role to deploy restic using systemd services and timers
Jinja
1
star
21

beancount-importers

Beancount importer for Fortuneo CSV exports
Python
1
star
22

bip39-java

Partial implementation of BIP-0039 for Java
Java
1
star
23

cassandra-partition-calculator

Calculate the size of a Cassandra partition
Go
1
star
24

flagutil

Collection of custom types implementing flag.Value
Go
1
star
25

zig-hyperscan

Zig
1
star
26

vmscraper

Prometheus scraper which exclusively exports to Victoria Metrics
Go
1
star
27

zig-sqlite-builder

Zig
1
star
28

gitjuggling

Rust
1
star