#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

#2725 in Database interfaces

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

~23–38MB
~700K SLoC