{"id":36399972,"url":"https://github.com/nurmohammed840/nio","last_synced_at":"2026-01-11T16:03:03.156Z","repository":{"id":264488683,"uuid":"893477336","full_name":"nurmohammed840/nio","owner":"nurmohammed840","description":"Nio is an experimental async runtime for Rust","archived":false,"fork":false,"pushed_at":"2026-01-01T08:32:00.000Z","size":776,"stargazers_count":324,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-04T05:54:48.510Z","etag":null,"topics":["async","runtime"],"latest_commit_sha":null,"homepage":"https://nurmohammed840.github.io/posts/announcing-nio/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nurmohammed840.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-24T14:52:38.000Z","updated_at":"2025-12-29T01:22:19.000Z","dependencies_parsed_at":"2025-08-02T19:03:21.241Z","dependency_job_id":"e447b6d5-cfac-4dc2-9ab8-fb156e099894","html_url":"https://github.com/nurmohammed840/nio","commit_stats":null,"previous_names":["nurmohammed840/nio"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nurmohammed840/nio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurmohammed840%2Fnio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurmohammed840%2Fnio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurmohammed840%2Fnio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurmohammed840%2Fnio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nurmohammed840","download_url":"https://codeload.github.com/nurmohammed840/nio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurmohammed840%2Fnio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28312219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"last_error":"SSL_read: 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":["async","runtime"],"created_at":"2026-01-11T16:03:03.095Z","updated_at":"2026-01-11T16:03:03.151Z","avatar_url":"https://github.com/nurmohammed840.png","language":"Rust","readme":"## Nio\n\nNio is an experimental async runtime for Rust.\nFor more information, check out [this article](https://nurmohammed840.github.io/posts/announcing-nio/)\n\nNio focuses solely on providing an async runtime, It doesn't include additional utilities like. `io`, `sync`,\nYou'll still need to rely on libraries like `tokio` for everything else.\n\n## Example\n\nAdd the following dependency to your `Cargo.toml`:\n\n```toml\n[dependencies]\nnio = \"0.0.2\"\n```\n\nHere is a basic echo server example:\n\n```rust, ignore\nuse nio::net::TcpListener;\nuse std::io;\nuse tokio::io::{AsyncReadExt, AsyncWriteExt};\n\n#[nio::main]\nasync fn main() -\u003e io::Result\u003c()\u003e {\n    let listener = TcpListener::bind(\"127.0.0.1:8080\").await?;\n    println!(\"{listener:#?}\");\n    \n    loop {\n        let (mut stream, addr) = listener.accept().await?;\n        println!(\"[INCOMING] {addr:?}\");\n\n        nio::spawn(async move {\n            let mut buf = vec![0; 1024];\n            while let Ok(n) = stream.read(\u0026mut buf).await {\n                if n == 0 { break }\n                stream.write_all(\u0026buf[..n]).await.unwrap();\n            }\n        });\n    }\n}\n```","funding_links":[],"categories":["\u003ca name=\"Rust\"\u003e\u003c/a\u003eRust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnurmohammed840%2Fnio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnurmohammed840%2Fnio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnurmohammed840%2Fnio/lists"}