#edge-db #async-std #database-client #progress #task

edgedb-client

EdgeDB database client implementation based on async-std

3 releases (breaking)

0.3.0 Apr 25, 2022
0.2.0 Sep 30, 2021
0.1.0 Oct 23, 2020

#1995 in Database interfaces

Download history 5/week @ 2024-02-19 4/week @ 2024-02-26 4/week @ 2024-03-11 54/week @ 2024-04-01

58 downloads per month

MIT/Apache

130KB
3K SLoC

EdgeDB Rust Binding for Async-Std

Work in progress asynchronous bindings of EdgeDB for async-std main loop.

Note: development of these bindings are stalled. Use edgedb-tokio instead.

Example Usage

use async_std::task;

fn main() -> anyhow::Result<()> {
    let val: i64 = task::block_on(async {
        let pool = edgedb_client::connect().await?;
        pool.query("SELECT 7*8", &()).await
    })?;
    println!("7*8 is: {}", val);
    Ok(())
}

More examples on github

License

Licensed under either of

at your option.

Dependencies

~22–38MB
~714K SLoC