{"id":26785666,"url":"https://github.com/andogq/cuisiner","last_synced_at":"2026-02-25T07:03:13.231Z","repository":{"id":283828443,"uuid":"950458589","full_name":"andogq/cuisiner","owner":"andogq","description":"Cook up some conversions to and from C-style binary layouts.","archived":false,"fork":false,"pushed_at":"2025-03-30T11:15:05.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T11:22:09.441Z","etag":null,"topics":["binary-encoding","binary-format","rust","rust-crate","serialization","zerocop"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/andogq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2025-03-18T07:37:00.000Z","updated_at":"2025-03-30T11:15:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"14e7461e-03c3-4559-85ce-da79ca4877de","html_url":"https://github.com/andogq/cuisiner","commit_stats":null,"previous_names":["andogq/cuisiner"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andogq%2Fcuisiner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andogq%2Fcuisiner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andogq%2Fcuisiner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andogq%2Fcuisiner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andogq","download_url":"https://codeload.github.com/andogq/cuisiner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249760120,"owners_count":21321843,"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":["binary-encoding","binary-format","rust","rust-crate","serialization","zerocop"],"created_at":"2025-03-29T11:30:09.411Z","updated_at":"2026-02-25T07:03:08.192Z","avatar_url":"https://github.com/andogq.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cuisiner\n\n***Cook up some conversions to and from C-style binary layouts.***\n\nCuisiner provides traits and macros to create idiomatic Rust structures that can be seamlessly\nconverted to and from C-style binary representations, even if it has a different layout.\n\n## Overview\n\nCuisiner centres on the derivable `Cuisiner` trait, which provides the 'raw' serialised type (via\nthe `Raw` associated type), and methods used to serialise and deserialise from the raw value. The\nraw representation must align with the C representation of the structure, whilst the `try_from_raw`\nand `try_to_raw` methods can handle validation when converting to and from the idiomatic Rust\nrepresentation.\n\n## Example\n\nSee [`sqlite-header.rs`](./tests/sqlite-header.rs) for an example.\n\n## Todo\n\n- [ ] Mirror `zerocopy`'s API for reading to/from bytes (`read_prefix`, `read_suffix`, etc)\n\n- [ ] Add support for reading from `Readable`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandogq%2Fcuisiner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandogq%2Fcuisiner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandogq%2Fcuisiner/lists"}