{"id":15067618,"url":"https://github.com/asomers/tokio-file","last_synced_at":"2025-04-09T23:34:48.791Z","repository":{"id":18516877,"uuid":"84004256","full_name":"asomers/tokio-file","owner":"asomers","description":"Asynchronous file I/O for Tokio","archived":false,"fork":false,"pushed_at":"2024-05-11T18:27:22.000Z","size":6865,"stargazers_count":47,"open_issues_count":3,"forks_count":4,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-05-12T18:52:36.437Z","etag":null,"topics":["mio","posix-aio","rust","tokio-rs"],"latest_commit_sha":null,"homepage":null,"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/asomers.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-03-05T21:41:51.000Z","updated_at":"2024-06-08T18:55:20.254Z","dependencies_parsed_at":"2024-04-27T16:40:03.688Z","dependency_job_id":"e5719400-153a-4550-b9c0-f188d9a78123","html_url":"https://github.com/asomers/tokio-file","commit_stats":{"total_commits":179,"total_committers":1,"mean_commits":179.0,"dds":0.0,"last_synced_commit":"8b98e2bfabca71d47522177d3f444e4eb6c1da90"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asomers%2Ftokio-file","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asomers%2Ftokio-file/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asomers%2Ftokio-file/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asomers%2Ftokio-file/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asomers","download_url":"https://codeload.github.com/asomers/tokio-file/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248130368,"owners_count":21052736,"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":["mio","posix-aio","rust","tokio-rs"],"created_at":"2024-09-25T01:25:14.725Z","updated_at":"2025-04-09T23:34:48.757Z","avatar_url":"https://github.com/asomers.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tokio-file\n\nA library for integrating file I/O with [tokio].  File I/O can be seamlessly\nmixed with all other Future types within the Tokio reactor.\n\n[![Build Status](https://api.cirrus-ci.com/github/asomers/tokio-file.svg)](https://cirrus-ci.com/github/asomers/tokio-file)\n[![Crates.io](https://img.shields.io/crates/v/tokio-file.svg)](https://crates.io/crates/tokio-file)\n\n[Documentation](https://docs.rs/crate/tokio-file)\n\n[tokio]: https://github.com/tokio-rs/tokio-core\n\n```toml\n# Cargo.toml\n[depdendencies]\ntokio = \"1.0.0\"\ntokio-file = \"0.10.0\"\n```\n\n# Usage\n\nSee the `examples` directory in the repository.  In general, any program that's\nalready using `tokio` can add file I/O by using `tokio_file::AioFileExt` and\nrunning the resulting futures in the tokio reactor.\n\n# Platforms\n\n`tokio-file` version 0.10 works on FreeBSD, using the `mio-aio` crate.  It will\nprobably also work on DragonflyBSD and OSX.  It does not work on Linux.  The\n`tokio-file` API can be supported on Linux, but it will need a completely\ndifferent backend.  Instead of using POSIX AIO as `mio-aio` does, Linux will\nneed a `mio-libaio` crate, that uses Linux's nonstandard libaio with an eventfd\nfor notifications.  That's the approach taken by [seastar].\n\n[seastar]: http://www.seastar-project.org/\n\n# License\n\n`tokio-file` is primarily distributed under the terms of both the MIT license\nand the Apache License (Version 2.0).\n\nSee LICENSE-APACHE, and LICENSE-MIT for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasomers%2Ftokio-file","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasomers%2Ftokio-file","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasomers%2Ftokio-file/lists"}