tursodatabase/libsql

Document how to integrate apps with libSQL with Wasm support

Open

#121 建立於 2023年1月26日

在 GitHub 查看
 (2 留言) (1 反應) (0 負責人)C (490 fork)batch import
documentationgood first issue

倉庫指標

Star
 (16,744 star)
PR 合併指標
 (平均合併 23小時 19分鐘) (30 天內合併 1 個 PR)

描述

Due to the fact that our WebAssembly runtime is implemented in Rust, it's also not part of the customary sqlite3.c amalgamation file. Instead, users are expected to either:

  • integrate directly with our Rust bindings crate, if libSQL is integrated into a Rust project, or
  • statically link with a .libs/libwblibsql.a library, either compiled from source or precompiled, or
  • link dynamically by using the dynamic flavor of the library, or building from source with ./configure --enable-wasm-runtime

These steps might be obvious enough for libSQL maintainers, but aren't for users, so they need to be clearly documented and easily available.

Refs #116

貢獻者指南