{"id":17903657,"url":"https://github.com/pirogoeth/unix-named-pipe","last_synced_at":"2025-03-23T18:31:31.440Z","repository":{"id":141112689,"uuid":"151343262","full_name":"pirogoeth/unix-named-pipe","owner":"pirogoeth","description":"Ease creation of named pipes on Unix platform","archived":false,"fork":false,"pushed_at":"2018-10-16T04:57:25.000Z","size":28,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T22:37:11.290Z","etag":null,"topics":["fifo","named-pipes","rust","rust-library","unix","unix-pipes"],"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/pirogoeth.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":"2018-10-03T00:51:35.000Z","updated_at":"2023-11-04T03:34:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"e79f310c-1e19-4290-93d8-08c7487286b2","html_url":"https://github.com/pirogoeth/unix-named-pipe","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirogoeth%2Funix-named-pipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirogoeth%2Funix-named-pipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirogoeth%2Funix-named-pipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirogoeth%2Funix-named-pipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pirogoeth","download_url":"https://codeload.github.com/pirogoeth/unix-named-pipe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245149287,"owners_count":20568868,"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":["fifo","named-pipes","rust","rust-library","unix","unix-pipes"],"created_at":"2024-10-28T16:41:07.927Z","updated_at":"2025-03-23T18:31:31.422Z","avatar_url":"https://github.com/pirogoeth.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unix-named-pipe\n\n[![pipeline status](https://glow.dev.maio.me/sjohnson/unix-named-pipe/badges/master/pipeline.svg)](https://glow.dev.maio.me/sjohnson/unix-named-pipe/commits/master)\n[![coverage report](https://glow.dev.maio.me/sjohnson/unix-named-pipe/badges/master/coverage.svg)](https://glow.dev.maio.me/sjohnson/unix-named-pipe/commits/master)\n\n---\n\n`unix-named-pipe` is a library to ease the creation and usage of named pipes on the Unix platform\n\n## Usage\n\n```rust\nextern crate unix_named_pipe;\n\n...\n\nlet filename = \"/var/run/application.pipe\";\nlet mode: u32 = 0o644\n\n// Create a new named pipe\nunix_named_pipe::create(filename, mode)?;\n\n// Open a named pipe for reading\nlet read_file = unix_named_pipe::open_read(filename)?;\n\n// Open a named pipe for writing (appending)\nlet write_file = unix_named_pipe::open_write(filename)?;\n```\n\n## Examples\n\nSome examples are provided in the `examples` directory. There are examples for both fixed-size messages and\nfor variable-sized messages\nTo start the example client and server, launch the server first to begin reading and then launch the client:\n\n```shell\ncargo run --example fixsz_server -- /tmp/pipe\ncargo run --example fixsz_client -- /tmp/pipe\n```\n\n## Contributing\n\nPull requests are welcomed and encouraged.  Feel free to ask questions via the issue tracker or email.\n\nAny contributions will be greatly appreciated \u003c3.\n\n## License\n\nLicensed under MIT. See [LICENSE](/LICENSE) for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpirogoeth%2Funix-named-pipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpirogoeth%2Funix-named-pipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpirogoeth%2Funix-named-pipe/lists"}