An unofficial database adapater for Replit Database for Rust!
sh
cargo add replit_db
```rust use replit_db::{self, Synchronous};
fn main() { let config = replitdb::Config::new(); let db = replitdb::Database::new(config); let res = db.set("testings".tostring(), "testers".tostring()); match res { Ok(()) => println!("Successful!"), Err(e) => println!("{}",e.to_string()) } println!(db.get("testings")).unwrap(); } ```
All documentations will be in the comment and intellisense. (I hosted my own documentation since docs.rs is slow)
Also for asynchronous version please use replit_db::Asynchronous
trait.