{"id":33937083,"url":"https://github.com/houseme/vips-sys","last_synced_at":"2026-03-17T22:05:16.542Z","repository":{"id":57671655,"uuid":"130110818","full_name":"houseme/vips-sys","owner":"houseme","description":"Low-level Rust FFI bindings for libvips. Provides the foundation for higher-level, safer wrappers.","archived":false,"fork":false,"pushed_at":"2025-12-01T19:50:06.000Z","size":12659,"stargazers_count":3,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-05T17:07:30.389Z","etag":null,"topics":["imagemagick","libvips","rust","rust-ffi","rust-ffi-bindings","rust-ffi-wrappers","rust-library","vips","vips-image","vips-sys"],"latest_commit_sha":null,"homepage":"https://houseme.github.io/vips-sys/","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/houseme.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-04-18T19:17:35.000Z","updated_at":"2025-12-18T09:45:31.000Z","dependencies_parsed_at":"2022-08-31T08:01:14.555Z","dependency_job_id":null,"html_url":"https://github.com/houseme/vips-sys","commit_stats":null,"previous_names":["houseme/vips-sys"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/houseme/vips-sys","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/houseme%2Fvips-sys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/houseme%2Fvips-sys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/houseme%2Fvips-sys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/houseme%2Fvips-sys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/houseme","download_url":"https://codeload.github.com/houseme/vips-sys/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/houseme%2Fvips-sys/sbom","scorecard":{"id":371406,"data":{"date":"2025-08-11","repo":{"name":"github.com/elbaro/vips-sys","commit":"12240d4f2cdc70d24e7e1c5ffcedb82efe9829f0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"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":"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":-1,"reason":"No tokens found","details":null,"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":"Maintained","score":0,"reason":"0 commit(s) and 0 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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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-18T13:04:17.674Z","repository_id":57671655,"created_at":"2025-08-18T13:04:17.674Z","updated_at":"2025-08-18T13:04:17.674Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30633240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["imagemagick","libvips","rust","rust-ffi","rust-ffi-bindings","rust-ffi-wrappers","rust-library","vips","vips-image","vips-sys"],"created_at":"2025-12-12T14:45:44.193Z","updated_at":"2026-03-17T22:05:16.535Z","avatar_url":"https://github.com/houseme.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vips-sys\n\n[English](README.md) \\| [简体中文](README_CN.md)\n\n[![Crates.io](https://img.shields.io/crates/v/vips-sys.svg)](https://crates.io/crates/vips-sys)\n[![Rust](https://github.com/houseme/vips-sys/actions/workflows/rust.yml/badge.svg)](https://github.com/houseme/vips-sys/actions/workflows/rust.yml)\n[![Docs](https://img.shields.io/badge/docs-online-blue)](https://houseme.github.io/vips-sys/vips-sys/)\n[![docs.rs](https://docs.rs/vips-sys/badge.svg)](https://docs.rs/vips-sys/)\n[![License](https://img.shields.io/crates/l/vips-sys)](./LICENSE)\n[![Downloads](https://img.shields.io/crates/d/vips-sys)](https://crates.io/crates/vips-sys)\n\nLow-level Rust FFI bindings for `libvips`. Designed to be stable, minimal, and a foundation for higher-level wrappers.\n\n- Docs: https://houseme.github.io/vips-sys/vips_sys/\n- Requirement: `libvips \u003e= 8.2` (validated on `8.17.2`)\n- Goals: reliable builds, cross-platform reuse, in-sync with upstream\n\n## Installation\n\n- macOS\n    - `brew install vips pkg-config`\n    - Apple Silicon: ensure `PKG_CONFIG_PATH=/opt/homebrew/lib/pkgconfig`\n- Debian/Ubuntu\n    - `sudo apt-get install -y libvips-dev pkg-config`\n- Windows (MSVC)\n    - `vcpkg install vips` and ensure the environment is visible to `cargo`\n\nVerify `pkg-config --cflags --libs vips` works (MSVC links via `vcpkg`).\n\n## Features\n\n- `static`: prefer static linking\n- `dynamic`: prefer dynamic linking (default)\n- `helpers`: minimal helpers for init/shutdown/version\n\nBuild-time exports:\n\n- `LIBVIPS_VERSION`: detected `libvips` version string\n- `cfg(vips_8_17)`: enabled when version `\u003e= 8.17`\n\n## Example (`helpers`)\n\n```rust\nuse vips_sys::helpers;\n\nfn main() {\n    helpers::init(\"vips-sys-example\").expect(\"vips init failed\");\n    let (a, b, c) = helpers::version();\n    println!(\"libvips version: {}.{}.{}\", a, b, c);\n    helpers::shutdown();\n}\n```\n\nCargo:\n\n```toml\n[dependencies]\nvips-sys = { version = \"0.1.3-beta.2\", features = [\"helpers\"] }\n```\n\n## Build notes\n\nThis crate uses `bindgen`:\n\n- Include paths from `pkg-config` and pass to `clang`\n- `layout_tests` disabled, `rustified_enum(\".*\")` enabled\n- Comments disabled to avoid doctest noise\n- Some items blocklisted for portability\n\nEnvironment:\n\n- `PKG_CONFIG_PATH`: path for `vips.pc`\n- `LIBVIPS_NO_BINDGEN`: skip bindgen and reuse generated output\n- `BINDGEN_EXTRA_CLANG_ARGS`: extra `-I` or flags\n- `LIBCLANG_PATH`: path to `libclang` if needed\n\n## Troubleshooting\n\n- Not found `vips`:\n    - Install `libvips` and `pkg-config` (or `vcpkg` on Windows)\n    - Check `PKG_CONFIG_PATH`\n- Bindgen failed:\n    - Set `LIBCLANG_PATH`, or add include dirs via `BINDGEN_EXTRA_CLANG_ARGS`\n- Static linking on macOS:\n    - Prefer dynamic linking due to Homebrew constraints\n\n## License\n\n[MIT](LICENSE)\n\n## Changelog\n\nSee [`CHANGELOG.md`](CHANGELOG.md).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhouseme%2Fvips-sys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhouseme%2Fvips-sys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhouseme%2Fvips-sys/lists"}