{"id":66762,"library":"sqlite3-sys","title":"sqlite3-sys","description":"Raw FFI bindings to the SQLite library.","status":"active","version":"0.18.0","language":"rust","source_language":null,"source_url":"https://github.com/stainless-steel/sqlite3-sys","tags":["sqlite","ffi","bindings","database"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nsqlite3-sys = \"0.18.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add sqlite3-sys","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"sqlite3","correct":"use sqlite3_sys::*;"}],"quickstart":{"code":"use sqlite3_sys::sqlite3;\n\nfn main() {\n    unsafe {\n        let mut db: *mut sqlite3 = std::ptr::null_mut();\n        let rc = sqlite3_sys::sqlite3_open(b\"test.db\\0\" as *const u8 as *const i8, &mut db);\n        if rc == 0 {\n            sqlite3_sys::sqlite3_close(db);\n        }\n    }\n}","lang":"rust","description":"Opens and closes a SQLite database using raw bindings."},"warnings":[{"fix":"Install libsqlite3-dev (Linux) or use the bundled feature.","message":"Requires SQLite development headers installed on the system.","severity":"gotcha","affected_versions":">=0.18.0"}],"env_vars":null,"search_vec":"'bind':6,13 'databas':14 'ffi':5,12 'librari':10 'raw':4 'sqlite':9,11 'sqlite3':2 'sqlite3-sys':1 'sys':3","created_at":"2026-06-17T17:28:03.675775+00:00","updated_at":"2026-06-17T17:28:03.675775+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/stainless-steel/sqlite3-sys","github":"https://github.com/stainless-steel/sqlite3-sys","docs":"https://docs.rs/sqlite3-sys/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}