Skip to content
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

[Feature]: Add support for Turso #986

Closed
1 task done
Kazy opened this issue Jun 8, 2023 · 0 comments · Fixed by #996
Closed
1 task done

[Feature]: Add support for Turso #986

Kazy opened this issue Jun 8, 2023 · 0 comments · Fixed by #996
Assignees
Labels
T-Feature Request A request for a new feature

Comments

@Kazy
Copy link
Contributor

Kazy commented Jun 8, 2023

Describe the feature

Turso is an edge SQLite database. We would like for Shuttle to be able to provision and connect to it, exposing a libsql-client::Client.

Currently Turso doesn't offer a way through their SDK to create a database. The first would then be to simply add a way to initiate a client through a macro annotation. We can then later on add a way to instantiate one.

Suggestion or Example of how the feature would be used

#[shuttle_runtime::main]
async fn main(
    #[shuttle_turso(addr = "...")] client: libsql_client::Client,
) -> shuttle_axum::ShuttleAxum { 
    ...
}

Duplicate declaration

  • I have searched the issues and this feature has not been requested before.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Feature Request A request for a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants