Skip to content

feat(libsql): support more types in de::from_row#2191

Open
lukadev-0 wants to merge 1 commit intotursodatabase:mainfrom
lukadev-0:feat/libsql-de-more
Open

feat(libsql): support more types in de::from_row#2191
lukadev-0 wants to merge 1 commit intotursodatabase:mainfrom
lukadev-0:feat/libsql-de-more

Conversation

@lukadev-0
Copy link

@lukadev-0 lukadev-0 commented Nov 10, 2025

Adds support to libsql::de::from_row to deserialize into maps (resolves #1362), sequences, tuples, and newtypes (resolves #1778).

Adding support for tuples allow for easier extraction of row values, like this:

let (foo, bar): (i32, String) = libsql::de::from_row(&row)?;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deserialization does not support newtypes libsql de::from_row does not support serde flatten

1 participant