{"id":13503958,"url":"https://github.com/rkyv/rkyv","last_synced_at":"2026-01-15T22:20:17.080Z","repository":{"id":37245610,"uuid":"310217738","full_name":"rkyv/rkyv","owner":"rkyv","description":"Zero-copy deserialization framework for Rust","archived":false,"fork":false,"pushed_at":"2026-01-13T17:33:43.000Z","size":4673,"stargazers_count":3894,"open_issues_count":54,"forks_count":211,"subscribers_count":21,"default_branch":"main","last_synced_at":"2026-01-13T19:24:18.773Z","etag":null,"topics":["rust","serialization","zero-copy"],"latest_commit_sha":null,"homepage":"https://rkyv.org","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/rkyv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","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},"funding":{"github":"rkyv"}},"created_at":"2020-11-05T07:11:05.000Z","updated_at":"2026-01-13T18:42:54.000Z","dependencies_parsed_at":"2022-07-04T11:15:09.673Z","dependency_job_id":"74b25c6f-765a-4f30-bab8-3393394b115e","html_url":"https://github.com/rkyv/rkyv","commit_stats":{"total_commits":900,"total_committers":75,"mean_commits":12.0,"dds":"0.14888888888888885","last_synced_commit":"65c7a035e0d9f4b4a11a78973bc6a06c65503f8d"},"previous_names":["djkoloski/rkyv"],"tags_count":76,"template":false,"template_full_name":null,"purl":"pkg:github/rkyv/rkyv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkyv%2Frkyv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkyv%2Frkyv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkyv%2Frkyv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkyv%2Frkyv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rkyv","download_url":"https://codeload.github.com/rkyv/rkyv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkyv%2Frkyv/sbom","scorecard":{"id":778435,"data":{"date":"2025-08-11","repo":{"name":"github.com/rkyv/rkyv","commit":"6b04386f5d0bfd45658415f5e239e52783dd5117"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.4,"checks":[{"name":"Maintained","score":10,"reason":"11 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"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":"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":"Code-Review","score":4,"reason":"Found 13/30 approved changesets -- score normalized to 4","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/ci.yml:11","Warn: topLevel 'contents' permission set to 'write': .github/workflows/gh-pages.yml:9","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":"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":"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/ci.yml:101: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:104: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:148: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:151: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:169: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:172: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:181: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:184: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:80: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:83: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:120: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:123: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:194: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:197: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:207: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:210: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/gh-pages.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/gh-pages.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/rkyv/rkyv/gh-pages.yml/main?enable=pin","Info:   0 out of  11 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  12 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":"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":"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":"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 'main'","Warn: branch protection not enabled for branch '0.7'"],"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 13 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-23T04:15:42.491Z","repository_id":37245610,"created_at":"2025-08-23T04:15:42.491Z","updated_at":"2025-08-23T04:15:42.491Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28472626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T22:13:38.078Z","status":"ssl_error","status_checked_at":"2026-01-15T22:12:11.737Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["rust","serialization","zero-copy"],"created_at":"2024-07-31T23:00:50.987Z","updated_at":"2026-01-15T22:20:17.065Z","avatar_url":"https://github.com/rkyv.png","language":"Rust","funding_links":["https://github.com/sponsors/rkyv"],"categories":["Libraries","Rust","rust"],"sub_categories":["Encoding"],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/rkyv/rkyv/master/media/logo_text_color.svg\" alt=\"rkyv\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    rkyv (\u003cem\u003earchive\u003c/em\u003e) is a zero-copy deserialization framework for Rust\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://discord.gg/65F6MdnbQh\"\u003e\u003cimg src=\"https://img.shields.io/discord/822925794249539645\" alt=\"Discord\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://crates.io/crates/rkyv\"\u003e\u003cimg src=\"https://img.shields.io/crates/v/rkyv.svg\" alt=\"crates.io\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://docs.rs/rkyv\"\u003e\u003cimg src=\"https://img.shields.io/docsrs/rkyv.svg\" alt=\"docs.rs\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/rkyv/rkyv/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\" alt=\"MIT license\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Resources\n\n## Learning Materials\n\n- The [rkyv book](https://rkyv.github.io/rkyv) covers the motivation, architecture, and major\n  features of rkyv\n- The [rkyv discord](https://discord.gg/65F6MdnbQh) is a great place to get help with specific issues and meet\n  other people using rkyv\n\n## Documentation\n\n- [rkyv](https://docs.rs/rkyv), the core library\n- [rkyv_dyn](https://docs.rs/rkyv_dyn), which adds trait object support to rkyv\n\n## Benchmarks\n\n- The [rust serialization benchmark](https://github.com/djkoloski/rust_serialization_benchmark) is a\n  shootout style benchmark comparing many rust serialization solutions. It includes special\n  benchmarks for zero-copy serialization solutions like rkyv.\n\n## Sister Crates\n\n- [rend](https://github.com/rkyv/rend), which rkyv uses for endian-agnostic features\n- [bytecheck](https://github.com/rkyv/bytecheck), which rkyv uses for validation\n- [rancor](https://github.com/rkyv/rancor), which rkyv uses for error handling\n- [ptr_meta](https://github.com/rkyv/ptr_meta), which rkyv uses for pointer manipulation\n\n# Example\n\n```rust\nuse rkyv::{deserialize, rancor::Error, Archive, Deserialize, Serialize};\n\n#[derive(Archive, Deserialize, Serialize, Debug, PartialEq)]\n#[rkyv(\n    // This will generate a PartialEq impl between our unarchived\n    // and archived types\n    compare(PartialEq),\n    // Derives can be passed through to the generated type:\n    derive(Debug),\n)]\nstruct Test {\n    int: u8,\n    string: String,\n    option: Option\u003cVec\u003ci32\u003e\u003e,\n}\n\nfn main() {\n    let value = Test {\n        int: 42,\n        string: \"hello world\".to_string(),\n        option: Some(vec![1, 2, 3, 4]),\n    };\n\n    // Serializing is as easy as a single function call\n    let _bytes = rkyv::to_bytes::\u003cError\u003e(\u0026value).unwrap();\n\n    // Or you can customize your serialization for better performance or control\n    // over resource usage\n    use rkyv::{api::high::to_bytes_with_alloc, ser::allocator::Arena};\n\n    let mut arena = Arena::new();\n    let bytes =\n        to_bytes_with_alloc::\u003c_, Error\u003e(\u0026value, arena.acquire()).unwrap();\n\n    // You can use the safe API for fast zero-copy deserialization\n    let archived = rkyv::access::\u003cArchivedTest, Error\u003e(\u0026bytes[..]).unwrap();\n    assert_eq!(archived, \u0026value);\n\n    // Or you can use the unsafe API for maximum performance\n    let archived =\n        unsafe { rkyv::access_unchecked::\u003cArchivedTest\u003e(\u0026bytes[..]) };\n    assert_eq!(archived, \u0026value);\n\n    // And you can always deserialize back to the original type\n    let deserialized = deserialize::\u003cTest, Error\u003e(archived).unwrap();\n    assert_eq!(deserialized, value);\n}\n```\n\n_Note: the safe API requires the `bytecheck` feature (enabled by default)_\n_Read more about [available features](https://docs.rs/rkyv/latest/rkyv/#features)._\n\n# Thanks\n\nThanks to all the sponsors that keep development sustainable. Special thanks to the following sponsors for going above and beyond supporting rkyv:\n\n## Bronze Sponsors\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://climatiq.io\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/rkyv/rkyv/master/media/sponsors/climatiq.png\" alt=\"Climatiq\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e Climatiq provides an embedded carbon intelligence solution that enables developers to automate GHG emission calculations based on verified scientific models. Its suite of products includes the largest dataset of emission factors, and intelligent APIs that integrate with any software platform for real time monitoring of greenhouse gas emissions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkyv%2Frkyv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frkyv%2Frkyv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkyv%2Frkyv/lists"}