Closed francisstephan closed 2 months ago
For me it works:
$ cd axum/turso # on main branch
$ cargo shuttle run
# ...build...
Starting turso-example on http://127.0.0.1:8000
2024-08-19T18:10:30.133+02:00 [Runtime] Starting on 127.0.0.1:8000
Are you sure you are running it without modifying the libsql
version (0.3.1)? (I see that libsql 0.5.0 is out. A PR for updating it is welcome.)
I confirm that it works with libsql 0.3.1, but not with libsql 0.5.0 as I had initially tried
Great! If you want to contribute an upgrade to 0.5, you can look for shuttle-turso in the main shuttle repo.
TursoOutput: IntoResource<libsql::Database>
is not satisfiedIntoResource<libsql::Database>
is not implemented forTursoOutput
= help: the trait
IntoResource<libsql::database::Database>
is implemented forTursoOutput
= help: for that trait implementation, expectedlibsql::database::Database
, foundlibsql::Database
= note: this error originates in the attribute macroshuttle_runtime::main
(in Nightly builds, run with -Z macro-backtrace for more info)However, I used libsql 0.5.0; When I switch back to libsql version 0.3.1 as in your example, it works, so this is definitely a Turso libsql issue