{"id":66713,"library":"odbc-api","title":"ODBC API","description":"Write ODBC applications in (mostly) safe Rust.","status":"active","version":"27.0.0","language":"rust","source_language":null,"source_url":"https://github.com/pacman82/odbc-api","tags":["odbc","database","sql","connectivity"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nodbc-api = \"27.0.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add odbc-api","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Connection","correct":"use odbc_api::Connection;"}],"quickstart":{"code":"use odbc_api::Connection;\n\nfn main() -> Result<(), Box<dyn std::error::Error>> {\n    let env = odbc_api::Environment::new()?;\n    let conn = env.connect(\"DSN=MyDSN\", \"user\", \"pass\")?;\n    println!(\"Connected!\");\n    Ok(())\n}","lang":"rust","description":"Connect to a database using an ODBC data source name."},"warnings":[{"fix":"Install unixODBC (Linux) or use the built-in Windows ODBC manager.","message":"Requires an ODBC driver manager and driver to be installed on the system.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"search_vec":"'api':2 'applic':5 'connect':13 'databas':11 'most':7 'odbc':1,4,10 'rust':9 'safe':8 'sql':12 'write':3","created_at":"2026-06-17T17:27:23.030495+00:00","updated_at":"2026-06-17T17:27:23.030495+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/pacman82/odbc-api","github":"https://github.com/pacman82/odbc-api","docs":"https://docs.rs/odbc-api/","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}}