{"id":16031733,"url":"https://github.com/dckc/rust-sqlite3","last_synced_at":"2025-05-08T21:15:40.548Z","repository":{"id":19223097,"uuid":"22457420","full_name":"dckc/rust-sqlite3","owner":"dckc","description":"Rustic bindings for sqlite3","archived":false,"fork":false,"pushed_at":"2017-01-06T04:14:20.000Z","size":997,"stargazers_count":59,"open_issues_count":2,"forks_count":21,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-08T21:15:34.726Z","etag":null,"topics":["database","obsolete","rust","sqlite3"],"latest_commit_sha":null,"homepage":"","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/dckc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-31T05:14:55.000Z","updated_at":"2025-03-09T11:57:22.000Z","dependencies_parsed_at":"2022-07-06T22:00:29.856Z","dependency_job_id":null,"html_url":"https://github.com/dckc/rust-sqlite3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dckc%2Frust-sqlite3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dckc%2Frust-sqlite3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dckc%2Frust-sqlite3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dckc%2Frust-sqlite3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dckc","download_url":"https://codeload.github.com/dckc/rust-sqlite3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253149619,"owners_count":21861740,"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":["database","obsolete","rust","sqlite3"],"created_at":"2024-10-08T21:05:12.896Z","updated_at":"2025-05-08T21:15:40.528Z","avatar_url":"https://github.com/dckc.png","language":"Rust","readme":"# Rust-Sqlite3\n\nRustic bindings for sqlite3. *OBSOLETE in favor of [jgallagher/rusqlite](https://github.com/jgallagher/rusqlite)*\n\nCopyright (c) 2014-2017 [Dan Connolly][dckc] and contributors\n\nShare and enjoy. LICENSE: MIT.\n\n[dckc]: http://www.madmode.com/\n\n\n## Documentation, Status\n\n[View the documentation online][docs]\n\nThree layers of API are provided:\n\n  - `mod ffi` provides exhaustive, though unsafe, [bindgen] bindings for `libsqlite.h`\n  - `mod core` provides a minimal safe interface to the basic sqlite3 API\n  - `mod types` provides `ToSql`/`FromSql` traits, and the library provides\n    convenient `query()` and `update()` APIs.\n  \nThe API design is perhaps stabilizing, though testing is uneven and I\nhave not used the library beyond trivial integration tests.\n\n[docs]: http://dckc.github.io/rust-sqlite3\n[![Build Status](https://travis-ci.org/dckc/rust-sqlite3.svg?branch=master)](https://travis-ci.org/dckc/rust-sqlite3)\n\n### TODO\n\n  - another thorough read-through of the sqlite API intro,\n    with unit tests to match; especially...\n    - unit testing other than the happy-paths\n  - `ToSql`/`FromSql` can now be implemented by clients,\n    but the `types` module probably doesn't hit the 80% mark yet;\n    e.g. it's missing uint and \u0026[u8].\n  - investigate test coverage tools for rust\n  - basic benchmarking\n\n\n## Motivation and Acknowledgements\n\nI was looking into [sandstorm][], a personal cloud platform with an\narchitecture based on the wonderful [capability security][capsec]\nparadigm, and I found a rust application, [acronymy][], that uses the\nnative API rather than the traditional POSIX environment.\n\n[sandstorm]: https://sandstorm.io/\n[capsec]: http://www.erights.org/elib/capability/ode/ode-capabilities.html\n[acronymy]: https://github.com/dwrensha/acronymy\n[bindgen]: https://github.com/crabtw/rust-bindgen\n\nI started poring over the code and followed the dependency link to\nlinuxfood's [rustsqlite][]. I started working on a [memory safety\nissue][92] etc. but soon found a number of large-scale API design\nissues that I wasn't sure how to approach with the upstream\ndevelopers. I was also inspired by `FromSql`, `ToSql` and such\nfrom sfackler's [rust-postgres] API.\n\nSo I started from scratch, using [bindgen][], `Result` (sum types) etc.\n\n[rustsqlite]: https://github.com/linuxfood/rustsqlite\n[92]: https://github.com/linuxfood/rustsqlite/issues/92\n[rust-postgres]: https://github.com/sfackler/rust-postgres\n[bindgen]: https://github.com/crabtw/rust-bindgen\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdckc%2Frust-sqlite3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdckc%2Frust-sqlite3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdckc%2Frust-sqlite3/lists"}