{"id":17854092,"url":"https://github.com/cpcloud/tensorflow_proto","last_synced_at":"2025-09-09T01:31:05.295Z","repository":{"id":55086009,"uuid":"285358252","full_name":"cpcloud/tensorflow_proto","owner":"cpcloud","description":"Rusty protobufs for Tensorflow","archived":false,"fork":false,"pushed_at":"2021-01-11T20:04:18.000Z","size":227,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-14T03:23:54.644Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cpcloud.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}},"created_at":"2020-08-05T17:22:14.000Z","updated_at":"2023-07-25T14:38:06.000Z","dependencies_parsed_at":"2022-08-14T11:31:17.485Z","dependency_job_id":null,"html_url":"https://github.com/cpcloud/tensorflow_proto","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/cpcloud/tensorflow_proto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpcloud%2Ftensorflow_proto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpcloud%2Ftensorflow_proto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpcloud%2Ftensorflow_proto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpcloud%2Ftensorflow_proto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cpcloud","download_url":"https://codeload.github.com/cpcloud/tensorflow_proto/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpcloud%2Ftensorflow_proto/sbom","scorecard":{"id":306553,"data":{"date":"2025-08-11","repo":{"name":"github.com/cpcloud/tensorflow_proto","commit":"db3b671140fcfc7ec2613e6a7d5eed0848672c49"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Code-Review","score":1,"reason":"Found 3/17 approved changesets -- score normalized to 1","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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/audit.yml:1","Warn: no topLevel permission defined: .github/workflows/ci.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":"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/audit.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/cpcloud/tensorflow_proto/audit.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/audit.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/cpcloud/tensorflow_proto/audit.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/cpcloud/tensorflow_proto/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/cpcloud/tensorflow_proto/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/cpcloud/tensorflow_proto/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/cpcloud/tensorflow_proto/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/cpcloud/tensorflow_proto/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/cpcloud/tensorflow_proto/ci.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 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":"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":"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":"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T22:11:24.371Z","repository_id":55086009,"created_at":"2025-08-17T22:11:24.371Z","updated_at":"2025-08-17T22:11:24.371Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274232031,"owners_count":25245855,"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-09-08T02:00:09.813Z","response_time":121,"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-10-28T00:41:46.962Z","updated_at":"2025-09-09T01:31:04.921Z","avatar_url":"https://github.com/cpcloud.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `tensorflow_proto`\n\n[![Continuous Integration](https://github.com/cpcloud/tensorflow_proto/workflows/Continuous%20Integration/badge.svg)](https://github.com/cpcloud/tensorflow_proto/actions?query=branch%3Amaster+event%3Apush+workflow%3A%22Continuous+Integration%22)\n[![Crates.io](https://img.shields.io/crates/v/tensorflow_proto)](https://crates.io/crates/tensorflow_proto)\n[![docs.rs](https://docs.rs/tensorflow_proto/badge.svg)](https://docs.rs/crate/tensorflow_proto)\n\n`tensorflow_proto` is a crate that uses `prost-build` to generate Rust\n`struct`s to be used in serialization/deserialization of protocol buffers\nwherever Tensorflow uses them.\n\nIn particular, this is useful in the\n[`tensorflow/rust`](https://github.com/tensorflow/rust) library when calling\n[`SessionOptions::set_config`](https://tensorflow.github.io/rust/tensorflow/struct.SessionOptions.html#method.set_config)\nto configure Tensorflow.\n\n**Note**: **This crate is tested against tensorflow 1.15.2 and 2.0.0.**\n\n# Usage\n\n## Default Features\n\nAdd\n\n```toml\ntensorflow_proto = \"0.3.0\"\n```\n\nto your `Cargo.toml`.\n\n## Serde Support\n\nSerde support can be enabled using the `\"serde-derive\"` feature:\n\n```toml\ntensorflow_proto = { version = \"0.3.0\", features = [\"serde-derive\"] }\n```\n\nThis will add a [`#[derive(serde::Serialize,\nserde::Deserialize)]`](https://serde.rs/derive.html) to every generated\n`struct`.\n\nYou must also depend on `serde` as well.\n\n## Easy conversion to bytes\n\nFinally, you can enable code generation for an implementation of `std::convert::TryFrom`\nthat encodes a message into a `Vec\u003cu8\u003e` for every `struct` generated by prost:\n\n```toml\ntensorflow_proto = { version = \"0.3.0\", features = [\"convert\"] }\n```\n\n## Use custom Tensorflow `*.proto` sources\n\nTo use a different version of Tensorflow protocol buffer sources, define\n`TENSORFLOW_PROTO_SOURCE` to be the root of a Tensorflow source tree.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpcloud%2Ftensorflow_proto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcpcloud%2Ftensorflow_proto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpcloud%2Ftensorflow_proto/lists"}