wasm-sql 0.1.6

Wasmtime host implementation for a SQL component WIT interface. Enables Wasm components to interact with SQL databases via the WebAssembly Component Model.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub mod generated {
    wasmtime::component::bindgen!({
        path: ["./wit", "./wit/postgres"],
        world: "wasm-sql:postgres/host",
        with: {
          "wasm-sql:core/query-types": crate::core::bindings::generated::wasm_sql::core::query_types,
          "wasm-sql:core/util-types": crate::core::bindings::generated::wasm_sql::core::util_types,
          "wasm-sql:core/codecs": crate::core::bindings::generated::wasm_sql::core::codecs,
        }
    });
}

mod codecs;