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

贡献者指南