#sql #rustls #websocket #sql-database #rust

exasol

Exasol client library implemented in Rust

13 releases

0.3.4 Sep 3, 2023
0.3.3 Sep 3, 2023
0.3.2 Apr 22, 2022
0.2.6 Apr 8, 2022
0.1.0 Jan 31, 2022

#99 in #rustls

MIT/Apache

200KB
4K SLoC

Crates.io

exasol

A synchronous database connector for Exasol written in Rust, based on the Exasol Websocket API.
Inspired by Py-Exasol.

Please find the documentation here.

[!IMPORTANT]
This crate is no longer maintained and is now archived.
Since crates.io does not allow deletion of a crate and this pretty much keeps the exasol crate name occupied, I am more than willing to transfer ownership of the crate to someone representing Exasol.

Please reach out if you are interested.

Additionally, for an alternative driver, please see sqlx-exasol.

Features available:

  • DSN parsing and resolving
  • Ability to use a custom TLS connector
  • Credentials & OpenID token login support
  • Single and batch query execution
  • Prepared statements
  • WSS support through native-tls and rustls
  • Compression support through flate2
  • Row deserialization into Rust types
  • Positional parameter binding
  • Named parameter binding
  • Performant single and multithreaded IMPORT/EXPORT features

Crate Features:

  • native-tls - (disabled by default) enables tungstenite WSS encryption support through native-tls
  • native-tls-vendored - (disabled by default) enables tungstenite WSS encryption support through native-tls-vendored
  • rustls-tls-webpki-roots - (disabled by default) enables tungstenite WSS encryption support through rustls-tls-webpki-roots
  • rustls-tls-native-roots - (disabled by default) enables tungstenite WSS encryption support through rustls-tls-native-roots
  • flate2 - (disabled by default) enables compression support

License

Licensed under either of

at your option.

Contributing

Contributions to this repository, unless explicitly stated otherwise, will be considered dual-licensed under MIT and Apache 2.0.
Bugs/issues encountered can be opened here

Dependencies

~12–27MB
~430K SLoC