edgedb-client

Crates.ioedgedb-client
lib.rsedgedb-client
version0.3.0
sourcesrc
created_at2020-10-23 15:53:11.652731
updated_at2022-04-25 16:24:35.670006
description EdgeDB database client implementation based on async-std.
homepage
repository
max_upload_size
id304725
size172,096
EdgeDB CI and Release Bot (edgedb-ci)

documentation

README

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.

Commit count: 0

cargo fmt