{"id":43837934,"url":"https://github.com/yanhuangdata/vectorcxx","last_synced_at":"2026-02-06T04:14:09.407Z","repository":{"id":43353414,"uuid":"431324912","full_name":"yanhuangdata/vectorcxx","owner":"yanhuangdata","description":"C++ wrapper for vector.dev","archived":false,"fork":false,"pushed_at":"2024-07-12T09:40:43.000Z","size":500,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-07-12T11:09:28.291Z","etag":null,"topics":["cmake","cpp","observability","pipeline","rust"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yanhuangdata.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":"2021-11-24T02:44:33.000Z","updated_at":"2022-11-13T13:52:17.000Z","dependencies_parsed_at":"2024-07-12T11:04:07.301Z","dependency_job_id":"558f33ea-d016-42c6-b449-d80c3328c325","html_url":"https://github.com/yanhuangdata/vectorcxx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yanhuangdata/vectorcxx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanhuangdata%2Fvectorcxx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanhuangdata%2Fvectorcxx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanhuangdata%2Fvectorcxx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanhuangdata%2Fvectorcxx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanhuangdata","download_url":"https://codeload.github.com/yanhuangdata/vectorcxx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanhuangdata%2Fvectorcxx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29150020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["cmake","cpp","observability","pipeline","rust"],"created_at":"2026-02-06T04:14:08.313Z","updated_at":"2026-02-06T04:14:09.403Z","avatar_url":"https://github.com/yanhuangdata.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vectorcxx\n* This project is a C++ wrapper for [vector](https://vector.dev)\n\n# how it works\n* This project uses [cxx](https://cxx.rs) to call Rust code from C++, and uses [corrosion](https://github.com/corrosion-rs/corrosion) to integrate the library into CMake.\n\n# build on Apple Silicon for arm64\n* use `nightly-aarch64-apple-darwin` rust toolchain\n* Export the following environment variables\n```\nVCPKG_DEFAULT_TRIPLET=arm64-osx\nVCPKG_DEFAULT_HOST_TRIPLET=arm64-osx\n```\n\n# develop (on macOS)\n* add submodule for vectorcxx\n```\n# only needed to be run for the first time\ngit submodule update --init --recursive\n```\n* configure and build\n```\nexport VECTORCXX_VCPKG_MANIFEST_DIR=$PWD/ci/dev_image\n```\n* install sccache and use it for build caching(optianal)\n```\ncargo install sccache\nexport RUSTC_WRAPPER=/Users/cj/.cargo/bin/sccache\n```\n```\njust cmake\n# this will use vcpkg manifest mode to install all the dependencies\njust build\n```\n* patch vector Cargo.toml\n```\n# only needed to be installed for the first time user\n# remember that tomlpatch requires python version \u003e= 3.10.0\njust install_toml_patch\njust patch\n```\nCommit the `Cargo.toml` and `Cargo.lock` in the `patch` directory to the vectorcxx repo\n\n* re-generate `CMakelists.txt`\nEverytime `CMakelists.txt` is re-generated, the following changes need to be made (until we remove all of them out of it):\n* `if (\"${CMAKE_SYSTEM_NAME}\" STREQUAL \"Darwin\")` branch for dependencies\n\n## development x64 under Apple Silicon with Rosetta\n1. Open terminal with Rosetta\n2. Set toolchain\n```\njust x64_toolchain\n\n# use direnv + .envrc is recommended for env var management\nexport CMAKE_OSX_ARCHITECTURES=x86_64\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanhuangdata%2Fvectorcxx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanhuangdata%2Fvectorcxx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanhuangdata%2Fvectorcxx/lists"}