| Crates.io | twine_sql_store |
| lib.rs | twine_sql_store |
| version | 0.1.3 |
| created_at | 2025-03-14 00:10:48.950821+00 |
| updated_at | 2025-04-18 23:17:52.11781+00 |
| description | Twine protocol rust library sql store |
| homepage | |
| repository | https://github.com/twine-protocol/twine-rs |
| max_upload_size | |
| id | 1591651 |
| size | 125,124 |
A [twine_lib::store::Store] implementation that saves twine data to
an SQL database. The sql support must be enabled through feature flags.
Currently supported via feature flags:
sqlitemysqlFor sqlite, one can either use the [crate::sqlite::SCHEMA] string for
sql that sets up the tables, or call [crate::sqlite::SqliteStore::create_tables()]
See the file [./schemas/mysql/001_init-mysql.sql] for a schema to use with your mysql database.