1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//! Tarantool async tokio based client.
//!
//! main features : auth by login and password, auto reconnect, optional timeout
//!
//! supported tarantool api :
//! - call function
//! - select
//! - insert
//! - replace
//! - update
//! - upsert
//! - delete
//! - eval
//!
//! # Examples
//!
//! ```text
//!
//! let client = ClientConfig::new("127.0.0.1:3301", "rust", "rust").set_timeout_time_ms(1000).build();
//! let response = client.call_fn2("test", &("param11", "param12") , &2).await?;
//! let res : ((String,String), u64, Option<u64>) = response.decode_trio()?;
//! ```
//!

#[macro_use]
extern crate log;
extern crate env_logger;

pub mod tarantool;