{"id":18761301,"url":"https://github.com/patte/tower-sessions-rusqlite-store","last_synced_at":"2025-07-24T11:03:40.763Z","repository":{"id":222710975,"uuid":"758145256","full_name":"patte/tower-sessions-rusqlite-store","owner":"patte","description":"(tokio-)rusqlite SessionStore implementation for tower-sessions ","archived":false,"fork":false,"pushed_at":"2025-01-23T05:19:48.000Z","size":38,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T11:51:28.694Z","etag":null,"topics":["async","axum","crate","rusqlite","rust","session-store"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/tower-sessions-rusqlite-store","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patte.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-15T17:57:09.000Z","updated_at":"2025-01-22T13:16:06.000Z","dependencies_parsed_at":"2024-02-15T20:04:17.593Z","dependency_job_id":"eac0c1d7-4806-4565-90fc-807aeb5e57bb","html_url":"https://github.com/patte/tower-sessions-rusqlite-store","commit_stats":null,"previous_names":["patte/tower-sessions-rusqlite-store"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patte%2Ftower-sessions-rusqlite-store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patte%2Ftower-sessions-rusqlite-store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patte%2Ftower-sessions-rusqlite-store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patte%2Ftower-sessions-rusqlite-store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patte","download_url":"https://codeload.github.com/patte/tower-sessions-rusqlite-store/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248659645,"owners_count":21141152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","axum","crate","rusqlite","rust","session-store"],"created_at":"2024-11-07T18:15:37.329Z","updated_at":"2025-04-13T03:31:26.072Z","avatar_url":"https://github.com/patte.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    tower-sessions-rusqlite-store\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    (tokio-)rusqlite session store for \u003ccode\u003etower-sessions\u003c/code\u003e.\n\u003c/p\u003e\n\n[![tests](https://github.com/patte/tower-sessions-rusqlite-store/actions/workflows/rust.yml/badge.svg)](https://github.com/patte/tower-sessions-rusqlite-store/actions/workflows/rust.yml) [![crates.io](https://img.shields.io/crates/v/tower-sessions-rusqlite-store)](https://crates.io/crates/tower-sessions-rusqlite-store) [![codecov](https://codecov.io/gh/patte/tower-sessions-rusqlite-store/graph/badge.svg?token=FZIFCIHNMB)](https://codecov.io/gh/patte/tower-sessions-rusqlite-store)\n\n\n## Overview\nThis is a `SessionStore` for the [`tower-sessions`](https://github.com/maxcountryman/tower-sessions) middleware which uses [tokio-rusqlite](https://github.com/programatik29/tokio-rusqlite) for handling SQLite databases.\n\nIt is directly based on the [`sqlx-store`](https://github.com/maxcountryman/tower-sessions-stores/tree/main/sqlx-store) and uses the same folder structure as [tower-session-stores](https://github.com/maxcountryman/tower-sessions-stores) for easy maintenance.\n\nAll contributions are welcome!\n\n## 🤸 Usage\nCheck out the [counter example](./rusqlite-store/examples/counter.rs). Run it with `cargo run --example counter`.\n\n## 🧪 Tests\nThis crate is covered by integration- and unit-tests.\nThe integration tests are copied from [tower-session-stores](https://github.com/maxcountryman/tower-sessions-stores) and kept in the `tests` create. They can be run with `cargo nextest run rusqlite_store_tests --test test_integration`.\n\nThe unit tests are copied from [maxcountryman/tower-sessions/memory-store](https://github.com/maxcountryman/tower-sessions/blob/6ad8933b4f5e71f3202f0c1a28f194f3db5234c8/memory-store/src/lib.rs#L62) and located directly in `src/lib.rs`. They can be run with `cargo nextest run rusqlite_store_tests -p tower-sessions-rusqlite-store`.\n\nRun all tests with: `cargo nextest run rusqlite_store_tests`.\n\n## 🦺 Disclaimer\nThis is an unofficial fork of the original `tower-sessions-stores`.\n\n## 🙏 Credits\nMost credits go to the original authors of `tower-sessions-stores` and `tower-sessions`.\n\n\u003c!-- 📦 Release\ncargo publish --dry-run -p tower-sessions-rusqlite-store\n--\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatte%2Ftower-sessions-rusqlite-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatte%2Ftower-sessions-rusqlite-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatte%2Ftower-sessions-rusqlite-store/lists"}