tursodatabase/libsql

Example does not work with remote URL

開放

#806 建立於 2023年12月19日

 (1 則留言) (0 個反應) (0 位負責人)C (490 個分叉)batch import
bughelp wanted

倉庫指標

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

描述

penberg@vonneumann libsql % export LIBSQL_HRANA_URL=$(turso db show --url foo)
penberg@vonneumann libsql % export LIBSQL_AUTH_TOKEN=$(turso db tokens create foo)
penberg@vonneumann libsql % cargo run --example example_v2
    Finished dev [unoptimized + debuginfo] target(s) in 0.54s
     Running `target/debug/examples/example_v2`
thread 'main' panicked at libsql/examples/example_v2.rs:18:49:
called `Result::unwrap()` on an `Err` value: Hrana(Http("connection closed before message completed"))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

貢獻者指南