-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port sqlite-libsql to new libsql client #2148
Conversation
crates/sqlite-libsql/Cargo.toml
Outdated
@@ -13,5 +13,5 @@ rusqlite = { version = "0.29.0", features = [ "bundled" ] } | |||
spin-sqlite = { path = "../sqlite" } | |||
spin-world = { path = "../world" } | |||
sqlparser = "0.34" | |||
libsql-client = { version = "0.31.5", features = ["reqwest_backend"], default_features = false } | |||
libsql = { git = "https://github.com/tursodatabase/libsql", rev = "c5765fe3770023ead42b0839527f6bc02161e224" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libsql = { git = "https://github.com/tursodatabase/libsql", rev = "c5765fe3770023ead42b0839527f6bc02161e224" } | |
libsql = { git = "https://github.com/tursodatabase/libsql", rev = "c5765fe3770023ead42b0839527f6bc02161e224", feature = ["remote"], default-features = false } |
Applying this should make libsql much easier to compile since it won't compile any of the C code and it will only build the http based code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@LucioFranco At the moment, it looks like it's still pulling in libsql-sys
and thereby libsql-ffi
which are failing on Windows. I've done a cargo update
but it's still showing up as a libsql
dependency (and nothing else seems to be bringing those crates in). Any advice appreciated - thanks!
2b2d9a1
to
a5109eb
Compare
a5109eb
to
c543d54
Compare
The 0.2 release looks to be taking a while so putting this out for review anyway |
c543d54
to
7ddeef7
Compare
Signed-off-by: itowlson <ivan.towlson@fermyon.com>
7ddeef7
to
85c3359
Compare
Using a git reference for testing - a release is promised soon.
This should address all the dreaded
sqlite3-parser
build errors that have affected downstream consumers of the Spin runtime when Cargo has helpfully locked them to a more recent version oflibsql-client-rs
.