Simple Rust client to tarantool
Ported java connector to tarantool db
https://github.com/tarantool/tarantool-java
Overview
Use tokio.io as base client framework
Usage
Example
Call echo stored procedure
run tarantool
;
Lua stored procedure:
Rust client :
println!;
let mut rt = new.unwrap;
let addr = "127.0.0.1:3301".parse.unwrap;
let client = new.build;
let response_future = client.call_fn2
.and_then ;
match rt.block_on
Output :
Connect to tarantool and call simple stored procedure!
stored procedure response =(("param11", "param12"), (2,), (Some(11),))
On examples part of project you can also see more complicated example :
http server connecting to tarantool