{"id":17361104,"url":"https://github.com/pacman82/odbc-api","last_synced_at":"2026-04-19T16:01:17.212Z","repository":{"id":37207666,"uuid":"287597921","full_name":"pacman82/odbc-api","owner":"pacman82","description":"ODBC (Open Database Connectivity) bindings for Rust.","archived":false,"fork":false,"pushed_at":"2026-04-11T22:11:56.000Z","size":8641,"stargazers_count":184,"open_issues_count":9,"forks_count":30,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-04-11T23:23:29.077Z","etag":null,"topics":["odbc-api","rust"],"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/pacman82.png","metadata":{"files":{"readme":"Readme.md","changelog":"CHANGELOG.md","contributing":"Contributing.md","funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["pacman82"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-08-14T18:22:37.000Z","updated_at":"2026-04-11T22:11:35.000Z","dependencies_parsed_at":"2026-01-06T06:06:23.801Z","dependency_job_id":null,"html_url":"https://github.com/pacman82/odbc-api","commit_stats":{"total_commits":1104,"total_committers":14,"mean_commits":78.85714285714286,"dds":"0.19112318840579712","last_synced_commit":"c1adb2c453c1ed62001c539a9f3066ec852822ff"},"previous_names":[],"tags_count":236,"template":false,"template_full_name":null,"purl":"pkg:github/pacman82/odbc-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacman82%2Fodbc-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacman82%2Fodbc-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacman82%2Fodbc-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacman82%2Fodbc-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pacman82","download_url":"https://codeload.github.com/pacman82/odbc-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pacman82%2Fodbc-api/sbom","scorecard":{"id":311966,"data":{"date":"2025-08-11","repo":{"name":"github.com/pacman82/odbc-api","commit":"db8e5aaadaa3e0000dda8ce3affe698d80b30c2c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.8,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/20 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/test.yml:126","Warn: no topLevel permission defined: .github/workflows/coverage.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/release.yml:5","Warn: no topLevel permission defined: .github/workflows/test.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/coverage.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/coverage.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/coverage.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/coverage.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/coverage.yml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/coverage.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:93: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:107: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:109: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:78: update your workflow using https://app.stepsecurity.io/secureworkflow/pacman82/odbc-api/test.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:5","Warn: containerImage not pinned by hash: docker/Dockerfile.dev:7","Warn: downloadThenRun not pinned by hash: Dockerfile:48","Warn: downloadThenRun not pinned by hash: docker/Dockerfile.dev:53","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  12 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   2 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: License:0","Info: FSF or OSI recognized license: MIT License: License:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T23:19:31.918Z","repository_id":37207666,"created_at":"2025-08-17T23:19:31.918Z","updated_at":"2025-08-17T23:19:31.918Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32012787,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["odbc-api","rust"],"created_at":"2024-10-15T19:30:48.747Z","updated_at":"2026-04-19T16:01:17.203Z","avatar_url":"https://github.com/pacman82.png","language":"Rust","funding_links":["https://github.com/sponsors/pacman82"],"categories":[],"sub_categories":[],"readme":"# ODBC-API\n\n[![Docs](https://docs.rs/odbc-api/badge.svg)](https://docs.rs/odbc-api/)\n[![License](https://img.shields.io/crates/l/odbc-api)](https://github.com/pacman82/odbc-api/blob/main/License)\n[![Crates.io](https://img.shields.io/crates/v/odbc-api)](https://crates.io/crates/odbc-api)\n[![Coverage Status](https://coveralls.io/repos/github/pacman82/odbc-api/badge.svg?branch=main)](https://coveralls.io/github/pacman82/odbc-api?branch=main)\n\nRust ODBC bindings. ODBC (Open Database Connectivity) is an open standard to connect to a variety of data sources. Most data sources offer ODBC drivers. There are two typical usage scenarios for ODBC:\n\n* Your application is designed to work with a wide range of databases without the need of redeploying it.\n* There is no native Rust driver in suitable quality available for your database so you want to use the ODBC driver instead.\n\nSee also: [Is ODBC the Answer?](https://learn.microsoft.com/en-us/sql/odbc/reference/develop-app/is-odbc-the-answer)\n\nThis crate is currently tested against:\n\n* Microsoft SQL Server\n* PostgreSQL\n* MariaDB\n* SQLite\n\nCurrent ODBC Version is `3.80`.\n\nThis crate is built on top of the `odbc-sys` ffi bindings, which provide definitions of the ODBC C Interface, but do not build any kind of abstraction on top of it.\n\n## Usage\n\nCheck the [guide](https://docs.rs/odbc-api/latest/odbc_api/guide/index.html) for code examples and a tour of the features.\n\n## Installation\n\nTo build this library you need to link against the `odbc` library of your system's ODBC driver manager. It should be automatically detected by the build. On Windows systems it is preinstalled. On Linux and OS-X [unix-odbc](http://www.unixodbc.org/) must be installed. To create a connection to a data source, its ODBC driver must also be installed.\n\n### Windows\n\nNothing to do. ODBC driver manager is preinstalled.\n\n### Ubuntu\n\n```shell\nsudo apt-get install unixodbc-dev\n```\n\n### macOS\n\nYou can use homebrew to install unixODBC\n\n```shell\nsudo brew install unixodbc\n```\n\n**or**\n\nYou can use MacPorts to install it\n\n```shell\nsudo port install unixodbc\n```\n\n**or**\n\nYou can also install unixODBC from source:\n\n1. copy the unixODBC-2.3.9.tar.gz file somewhere you can create files and directories\n2. gunzip unixODBC*.tar.gz\n3. tar xvf unixODBC*.tar\n4. `./configure`\n5. `make`\n6. `sudo make install`\n\n### Linux / OS-X via Nix Flakes\n\nAlternatively, if you're familiar with the Nix ecosystem or want to try it out, [our wiki](https://github.com/pacman82/odbc-api/wiki) has a user contributed example on setting up a dev environment with Nix flakes.\n\n## Features\n\n* [x] Connect using Data Source names (DSN)\n* [x] Connect using ODBC connection strings\n* [x] Connect using prompts (windows)\n* [x] Log ODBC diagnostics and warnings (via `log` crate).\n* [x] Columnar bulk inserts.\n* [x] Columnar bulk queries.\n* [ ] Rowwise bulk inserts.\n* [x] Rowwise bulk queries.\n* [x] Output parameters of stored procedures.\n* [x] prepared and 'one shot' queries.\n* [x] Transactions\n* [x] Pass parameters to queries\n* [x] Asynchronous execution of one shot queries\n* [ ] Asynchronous execution of prepared queries\n* [ ] Asynchronous connecting to database\n* [ ] Asynchronous fetching of Metainformation\n* [x] Multithreading\n* [x] Inserting large binary / text data in stream\n* [x] Fetching arbitrary large text / binary data in stream\n* [x] Connection pooling\n* [x] List tables of data sources\n* [x] Retrieve multiple result sets\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacman82%2Fodbc-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpacman82%2Fodbc-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacman82%2Fodbc-api/lists"}