edgedb-client 0.3.0

EdgeDB database client implementation based on async-std.
Documentation

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.