{"id":14992114,"url":"https://github.com/pranayspeed/g2o-rust-bindings","last_synced_at":"2025-09-25T14:30:51.826Z","repository":{"id":144709747,"uuid":"554293312","full_name":"pranayspeed/g2o-rust-bindings","owner":"pranayspeed","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-19T15:27:26.000Z","size":178,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-24T16:09:23.768Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/pranayspeed.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-19T15:10:42.000Z","updated_at":"2023-05-15T23:20:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"4cbdc9d8-864e-45e2-824e-f10072cac1a8","html_url":"https://github.com/pranayspeed/g2o-rust-bindings","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pranayspeed%2Fg2o-rust-bindings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pranayspeed%2Fg2o-rust-bindings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pranayspeed%2Fg2o-rust-bindings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pranayspeed%2Fg2o-rust-bindings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pranayspeed","download_url":"https://codeload.github.com/pranayspeed/g2o-rust-bindings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234200167,"owners_count":18795139,"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","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-09-24T15:00:44.598Z","updated_at":"2025-09-25T14:30:46.505Z","avatar_url":"https://github.com/pranayspeed.png","language":"C++","funding_links":[],"categories":["Scientific Computation"],"sub_categories":[],"readme":"# g2o-bindings\n\n## Using\n\nTo compile:\n``cargo build``\n\nTo run examples:\n``cargo run --example pose_optimization``\n\n## Making changes\n- `g2o/` has the g2o code, including:\n    - `g2o/CMakeLists.txt` -- used to compile the g2o library. You can compile g2o on its own with `mkdir build; cd build; cmake ..; make`. The rust crate uses the CMakeLists file to build the library as part of the rust crate compilation and bindings generation.\n    - `g2o/rust/rust_helper.cc` and `g2o/rust/rust_helper.h` -- declare the C++ targets that Rust should have bindings to. If making a change here, need to also change the corresponding functions in `src/lib.rs`.\n- `src/lib.rs` -- the Rust code that declares the C++ targets for which there are bindings. Should match `g2o/rust/rust_helper.cc` and `g2o/rust/rust_helper.h`.\n- `build.rs` -- the compilation instructions to compile g2o, generate bindings, and link. Used automatically by cargo when you run `cargo build`.\n- `examples/` has examples for how to use the g2orust crate.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpranayspeed%2Fg2o-rust-bindings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpranayspeed%2Fg2o-rust-bindings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpranayspeed%2Fg2o-rust-bindings/lists"}