{"id":18121069,"url":"https://github.com/djg/cmsg-rs","last_synced_at":"2025-04-06T11:30:03.821Z","repository":{"id":141740801,"uuid":"106484911","full_name":"djg/cmsg-rs","owner":"djg","description":"Helper for working with Unix Domain Socket ancilliary control messages.","archived":false,"fork":false,"pushed_at":"2017-10-11T00:45:14.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T17:17:06.272Z","etag":null,"topics":["cmsg","rust","sockets","unix"],"latest_commit_sha":null,"homepage":"","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/djg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","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":"2017-10-11T00:14:42.000Z","updated_at":"2017-10-11T00:46:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"b71331dc-8332-4b34-8a82-bf5e7f775a0a","html_url":"https://github.com/djg/cmsg-rs","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/djg%2Fcmsg-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djg%2Fcmsg-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djg%2Fcmsg-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djg%2Fcmsg-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/djg","download_url":"https://codeload.github.com/djg/cmsg-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247476970,"owners_count":20945160,"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":["cmsg","rust","sockets","unix"],"created_at":"2024-11-01T05:23:09.829Z","updated_at":"2025-04-06T11:30:03.733Z","avatar_url":"https://github.com/djg.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cmsg\n\n[![Build Status](https://travis-ci.org/djg/cmsg-rs.svg?branch=master)](https://travis-ci.org/djg/cmsg-rs)\n\nA library for working with ancilliary control messages for Unix Domain Sockets as described by [cmsg].\n\n[cmsg]: http://man7.org/linux/man-pages/man3/cmsg.3.html\n\n```toml\n# Cargo.toml\n[dependencies]\nbytes = \"0.4\"\ncmsg = \"0.1\"\n```\n\n## Usage\n\nTo process received control messages, `cmsg::iterator()` is used to\ncreate an iterator adapter over the raw bytes received from\n`libc::recvmsg`.\n\nTo create control messages, `cmsg::builder()` is used to create a\nbuilder interface over the top of pre-allocated storage. Using\n`Vec\u003cu8\u003e`, `bytes::BytesMut`, and stack-based arrays, via\n`std::io::Cursor` are supported. The builder checks that the storages\nis correctly aligned and maintains alignment of each appended message.\n\n# License\n\n`cmsg-rs` is primarily distributed under the terms of the MIT license.\n\nSee LICENSE-MIT for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjg%2Fcmsg-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjg%2Fcmsg-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjg%2Fcmsg-rs/lists"}