#neo4j #bolt #client

bolt-client

A client that sends messages using the Bolt protocol

16 releases (10 breaking)

0.11.0 Dec 28, 2022
0.10.1 Dec 7, 2021
0.10.0 Nov 24, 2021
0.9.1 Mar 30, 2021
0.2.1 Dec 25, 2019

#8 in #bolt

Download history 57/week @ 2025-12-01 6/week @ 2025-12-08 4/week @ 2025-12-15 8/week @ 2025-12-22 41/week @ 2025-12-29 8/week @ 2026-01-05 3/week @ 2026-01-12 21/week @ 2026-01-19 35/week @ 2026-01-26 146/week @ 2026-02-02 44/week @ 2026-02-09 34/week @ 2026-02-16 72/week @ 2026-02-23 46/week @ 2026-03-02 29/week @ 2026-03-09 10/week @ 2026-03-16

160 downloads per month
Used in 5 crates

MIT license

310KB
6K SLoC

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.

Dependencies

~9–24MB
~254K SLoC