A simple driver for Siodb written in pure Rust.
Add the crate dependency with the version you desire into Cargo.toml
:
[dependencies]
siodb_driver = "*"
To identify a Siodb resource, the driver use the URI format.
For TCP connection:
siodb://root@localhost:50000?identity_file=/home/siodb/.ssh/id_rsa
For Unix socket connection:
siodb://root@unix_socket?identity_file=/home/siodb/.ssh/id_rsa
The above example will connect you to the localhost with port number 50000
.
The driver will do the authentication with the Siodb user root and the identity file /home/siodb/.ssh/id_rsa
.
client.enable_encryption
set to no
.Licensed under Apache License version 2.0.