{"id":31644103,"url":"https://github.com/quietboil/sibyl","last_synced_at":"2025-10-07T04:09:19.903Z","repository":{"id":48193069,"uuid":"191249342","full_name":"quietboil/sibyl","owner":"quietboil","description":"An OCI-based interface between Rust applications and Oracle databases.","archived":false,"fork":false,"pushed_at":"2025-02-21T21:01:50.000Z","size":2126,"stargazers_count":35,"open_issues_count":4,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-01T12:50:04.183Z","etag":null,"topics":["database","oracle","rust","sql"],"latest_commit_sha":null,"homepage":"https://quietboil.github.io/sibyl","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/quietboil.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-10T21:39:07.000Z","updated_at":"2025-09-20T08:50:43.000Z","dependencies_parsed_at":"2024-08-20T19:53:31.776Z","dependency_job_id":null,"html_url":"https://github.com/quietboil/sibyl","commit_stats":{"total_commits":121,"total_committers":2,"mean_commits":60.5,"dds":"0.016528925619834656","last_synced_commit":"22897447d990b1279e158672b67b2127cb6c3aa9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/quietboil/sibyl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quietboil%2Fsibyl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quietboil%2Fsibyl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quietboil%2Fsibyl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quietboil%2Fsibyl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quietboil","download_url":"https://codeload.github.com/quietboil/sibyl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quietboil%2Fsibyl/sbom","scorecard":{"id":755907,"data":{"date":"2025-08-11","repo":{"name":"github.com/quietboil/sibyl","commit":"78ab23cbc23db20de673b0a25322cef1e6a94e40"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"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":"Maintained","score":0,"reason":"0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/mdbook.yml:1","Info: no jobLevel write permissions found"],"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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/mdbook.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/quietboil/sibyl/mdbook.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/mdbook.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/quietboil/sibyl/mdbook.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/mdbook.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/quietboil/sibyl/mdbook.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction 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":"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":"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":"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"}},{"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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"}}]},"last_synced_at":"2025-08-22T21:39:56.304Z","repository_id":48193069,"created_at":"2025-08-22T21:39:56.304Z","updated_at":"2025-08-22T21:39:56.304Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278717428,"owners_count":26033542,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"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":["database","oracle","rust","sql"],"created_at":"2025-10-07T04:05:15.796Z","updated_at":"2025-10-07T04:09:19.898Z","avatar_url":"https://github.com/quietboil.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sibyl\n\nSibyl is an [OCI][1]-based interface between Rust applications and Oracle databases. Sibyl supports both blocking (threads) and nonblocking (async) API.\n\n[![crates.io](https://img.shields.io/crates/v/sibyl)](https://crates.io/crates/sibyl)\n[![Documentation](https://docs.rs/sibyl/badge.svg)](https://docs.rs/sibyl)\n![MIT](https://img.shields.io/crates/l/sibyl.svg)\n\n## Example\n\n### Blocking Mode\n\n```rust\nuse sibyl as oracle; // pun intended :)\n\nfn main() -\u003e Result\u003c(),Box\u003cdyn std::error::Error\u003e\u003e {\n    let oracle = oracle::env()?;\n\n    let dbname = std::env::var(\"DBNAME\").expect(\"database name\");\n    let dbuser = std::env::var(\"DBUSER\").expect(\"user name\");\n    let dbpass = std::env::var(\"DBPASS\").expect(\"password\");\n\n    let session = oracle.connect(\u0026dbname, \u0026dbuser, \u0026dbpass)?;\n    let stmt = session.prepare(\"\n        SELECT first_name, last_name, hire_date\n          FROM hr.employees\n         WHERE hire_date \u003e= :hire_date\n      ORDER BY hire_date\n    \")?;\n    let date = oracle::Date::from_string(\"January 1, 2005\", \"MONTH DD, YYYY\", \u0026session)?;\n    let rows = stmt.query(\u0026date)?;\n    while let Some( row ) = rows.next()? {\n        let first_name : Option\u003c\u0026str\u003e  = row.get(0)?;\n        let last_name  : \u0026str          = row.get(1)?;\n        let hire_date  : oracle::Date  = row.get(2)?;\n\n        let hire_date = hire_date.to_string(\"FMMonth DD, YYYY\")?;\n        if let Some(first_name) = first_name {\n            println!(\"{}: {} {}\", hire_date, first_name, last_name);\n        } else {\n            println!(\"{}: {}\", hire_date, last_name);\n        }\n    }\n    if stmt.row_count()? == 0 {\n        println!(\"No one was hired after {}\", date.to_string(\"FMMonth DD, YYYY\")?);\n    }\n    Ok(())\n}\n```\n\n### Nonblocking Mode\n\n```rust\nuse sibyl as oracle;\n\n#[tokio::main]\nasync fn main() -\u003e Result\u003c(),Box\u003cdyn std::error::Error\u003e\u003e {\n    let oracle = oracle::env()?;\n\n    let dbname = std::env::var(\"DBNAME\").expect(\"database name\");\n    let dbuser = std::env::var(\"DBUSER\").expect(\"user name\");\n    let dbpass = std::env::var(\"DBPASS\").expect(\"password\");\n\n    let session = oracle.connect(\u0026dbname, \u0026dbuser, \u0026dbpass).await?;\n    let stmt = session.prepare(\"\n        SELECT first_name, last_name, hire_date\n          FROM hr.employees\n         WHERE hire_date \u003e= :hire_date\n      ORDER BY hire_date\n    \").await?;\n    let date = oracle::Date::from_string(\"January 1, 2005\", \"MONTH DD, YYYY\", \u0026oracle)?;\n    let rows = stmt.query(\u0026date).await?;\n    while let Some( row ) = rows.next().await? {\n        let first_name : Option\u003c\u0026str\u003e  = row.get(0)?;\n        let last_name  : \u0026str          = row.get(1)?;\n        let hire_date  : oracle::Date  = row.get(2)?;\n\n        let hire_date = hire_date.to_string(\"FMMonth DD, YYYY\")?;\n        if let Some(first_name) = first_name {\n            println!(\"{}: {} {}\", hire_date, first_name, last_name);\n        } else {\n            println!(\"{}: {}\", hire_date, last_name);\n        }\n    }\n    if stmt.row_count()? == 0 {\n        println!(\"No one was hired after {}\", date.to_string(\"FMMonth DD, YYYY\")?);\n    }\n    Ok(())\n}\n```\n\n\u003e Note that:\n\u003e - The nonblocking mode example is almost a verbatim copy of the blocking mode example with `await`s added.\n\u003e - The async example uses and depends on [Tokio][2]\n\u003e - For the moment, Sibyl can use only Tokio, Actix, async-std or async-global-executor as an async executor.\n\n# Documentation\n\n- [User Guide](https://quietboil.github.io/sibyl)\n- [API](https://docs.rs/sibyl)\n\n[1]: https://docs.oracle.com/en/database/oracle/oracle-database/19/lnoci/index.html\n[2]: https://crates.io/crates/tokio\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquietboil%2Fsibyl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquietboil%2Fsibyl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquietboil%2Fsibyl/lists"}