Crates.io | konektor_db |
lib.rs | konektor_db |
version | 0.5.0 |
source | src |
created_at | 2022-11-15 04:11:13.641512 |
updated_at | 2022-11-15 04:11:13.641512 |
description | db konektor |
homepage | |
repository | https://github.com/AnggaSuherman/rust_client |
max_upload_size | |
id | 715442 |
size | 2,738,935 |
GridDB Rust Client
GridDB Rust Client is GridDB client library for Rust Programing Language.
It is developed using GridDB C Client and Rust bindgen.
Building of the library and execution of the sample programs have been checked in the following environment.
OS: Ubuntu 20.04/CentOS 7.9
Rust: 1.62
Clang: >=7
GridDB Server/C Client: 5.0 CE
Install rust.
$ curl https://sh.rustup.rs -sSf | sh
Install GridDB Server and C Client.
Install clang.
Ubuntu 20.04
$ sudo apt-get install clang-10 libclang-10-dev
CentOS 7
$ sudo yum install llvm-toolset-7.0
$ scl enable llvm-toolset-7.0 bash
$ cargo build
GridDB Server need to be started in advance.
$ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:<C client library file directory path>
$ cargo run --example sample1 <GridDB notification address> <GridDB notification port>
<GridDB cluster name> <GridDB user> <GridDB password>
--> Person: name=name01 status=false count=100 lob=[ABCDEFGHIJ]
(available)
(not available)
Please refer to the following files for more detailed information.
Note:
GridDB Rust Client source license is Apache License, version 2.0.