Crates.io | bolt-client |
lib.rs | bolt-client |
version | 0.11.0 |
source | src |
created_at | 2019-12-24 01:51:53.117556 |
updated_at | 2022-12-28 02:06:09.538755 |
description | A client that sends messages using the Bolt protocol. |
homepage | |
repository | https://github.com/0xSiO/bolt-rs |
max_upload_size | |
id | 191941 |
size | 223,905 |
This crate contains a runtime-agnostic asynchronous client for graph database servers that support the Bolt protocol.
The central feature of this library is the
Client
struct, which allows
sending Bolt messages to a compatible server. Clients can be created from any type that implements
AsyncRead and
AsyncWrite.
If you want to connect to a Bolt-compatible server from your application, you probably want to use a connection pool - see bb8-bolt, deadpool-bolt, or mobc-bolt.
If you'd rather manage your own connections, an asynchronous TCP/TLS
Stream
wrapper is also available,
if you're using the tokio runtime.
See the API documentation for more details and examples.