bb8-skytable

Crates.iobb8-skytable
lib.rsbb8-skytable
version0.3.1
sourcesrc
created_at2021-08-22 16:16:42.660026
updated_at2021-09-18 14:11:49.215449
descriptionAsync bb8 connection pool for Skytable
homepage
repositoryhttps://github.com/heliumbrain/bb8-skytable
max_upload_size
id440749
size4,578
(heliumbrain)

documentation

README

Documentation Crates.io

bb8-skytable

Skytable rust client support library for the bb8 connection pool. Heavily based on bb8-redis

Basic usage example

use bb8_skytable::{
    bb8,
    skytable::{actions::Actions},
    SkytableConnectionManager
};

#[tokio::main]
async fn main() {
	let manager = SkytableConnectionManager::new("127.0.0.1", 2003);
	let pool = bb8::Pool::builder().build(manager).await.unwrap();
  	let mut conn = pool.get().await.unwrap();
    conn.set("x", "100").await.unwrap();
}
Commit count: 10

cargo fmt