{"id":20722471,"url":"https://github.com/toomanybees/openni2-sys","last_synced_at":"2025-08-11T06:06:19.490Z","repository":{"id":57649494,"uuid":"140015202","full_name":"TooManyBees/openni2-sys","owner":"TooManyBees","description":"Rust bindings for OpenNI2's C API","archived":false,"fork":false,"pushed_at":"2020-03-26T02:52:30.000Z","size":46,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-27T03:09:30.204Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TooManyBees.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-06T17:52:09.000Z","updated_at":"2024-12-28T04:02:43.000Z","dependencies_parsed_at":"2022-09-26T20:30:50.630Z","dependency_job_id":null,"html_url":"https://github.com/TooManyBees/openni2-sys","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TooManyBees/openni2-sys","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TooManyBees%2Fopenni2-sys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TooManyBees%2Fopenni2-sys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TooManyBees%2Fopenni2-sys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TooManyBees%2Fopenni2-sys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TooManyBees","download_url":"https://codeload.github.com/TooManyBees/openni2-sys/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TooManyBees%2Fopenni2-sys/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269838444,"owners_count":24483200,"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-08-11T02:00:10.019Z","response_time":75,"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":[],"created_at":"2024-11-17T03:35:59.415Z","updated_at":"2025-08-11T06:06:19.467Z","avatar_url":"https://github.com/TooManyBees.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openni2-sys: OpenNI2 Bindings\n\nRust bindings for [OpenNI2](https://github.com/occipital/OpenNI2).\n\nThe reference vendor files were built with bindgen using this command, with a few additional edits:\n\n`bindgen vendor/OniCAPI.h -o src/lib.rs --whitelist-function oni.* --whitelist-type Oni.* --whitelist-var ONI_.*`\n\n# Compilation\n\nOpenNI2 usually expects to be dynamically linked, and requires env variables\nto indicate where the libraries are.\n\nWhen building on Windows, the build script checks the presence of the env vars\n`OPENNI2_LIB` and `OPENNI2_LIB64` (per the OpenNI2 installation instructions) is the location of `OpenNI2.lib` on Windows. On other platforms, it checks\n`OPENNI2_REDIST` and `OPENNI2_REDIST64`, which should be the location of\n`libOpenNI2.dylib` or `libOpenNI2.so` on OSX or Linux.\n\n(A Windows OpenNI2 installation should also have the `OPENNI2_REDIST(64)` env\nvar set, but it's not the location needed to correctly link.)\n\nIf your installation names the library something different than `openni2`,\nthe name passed to the linker (i.e. `-lopenni2`), can be overriden with the\n`OPENNI2_LIBNAME` environment variable:\n\n```\n$ OPENNI2_REDIST64=/lib/libOpenNI2 cargo build\nerror: linking with `cc` failed: exit code: 1\n  = note: /usr/bin/ld: cannot find -lopeni2\n          collect2: error: ld returned 1 exit status\n$ OPENNI2_REDIST64=/lib/libOpenNI2 OPENNI2_LIBNAME=OpenNI2 cargo build\n    Finished dev [unoptimized + debuginfo] target(s) in 0.96s\n```\n\n# Runtime considerations\n\nFor OSX, add `OPENNI2_REDIST(64)` (the location of `libOpenNI2.dylib`)\nto your `DYLD_LIBRARY_PATH` env var.\n\nFor Linux, add `OPENNI2_REDIST(64)` (the location of `libOpenNI2.so`)\nto your `LD_LIBRARY_PATH` env var.\n\nFor Windows, add `OPENNI2_REDIST(64)` to your `PATH`.\n\nOtherwise to avoid using shared locations, copy `OpenNI2.dll`,\n`libOpenNI2.dylib`, or `libOpenNI2.so` to the executable's directory.\n\n# LICENSE\n\nThese bindings are distributed under the MIT license, which I don't exactly\nknow what it means, but was recommended and idgaf.\n\nThis repository contains headers for OpenNI2 with a Primsense Ltd. copyright,\nbut they exist for reference and are not part of the compiled crate that's\ndistributed through Crates.io.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoomanybees%2Fopenni2-sys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoomanybees%2Fopenni2-sys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoomanybees%2Fopenni2-sys/lists"}