falkordb-0.1.0 has been yanked.
falkordb-rs
FalkorDB Rust client
Usage
Installation
Just add it to your Cargo.toml, like so
= { = "0.1.0" }
Run FalkorDB instance
Docker:
Code Example
use ;
// Connect to FalkorDB
let connection_info: FalkorConnectionInfo = "falkor://127.0.0.1:6379".try_into
.expect;
let client = new
.with_connection_info
.build.expect;
// Select the social graph
let mut graph = client.select_graph;
// Create 100 nodes and return a handful
let nodes = graph.query
.with_timeout.execute.expect;
for n in nodes.data