Skip to content

Skytable rust client support library for the bb8 connection pool

Notifications You must be signed in to change notification settings

heliumbrain/bb8-skytable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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();
}

About

Skytable rust client support library for the bb8 connection pool

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages