{"id":19124097,"url":"https://github.com/efforg/tokio-dl-stream-to-disk","last_synced_at":"2025-05-05T18:48:54.907Z","repository":{"id":43892324,"uuid":"397358767","full_name":"EFForg/tokio-dl-stream-to-disk","owner":"EFForg","description":"A micro-library for downloading from a URL and streaming it directly to the disk","archived":false,"fork":false,"pushed_at":"2024-07-26T04:11:04.000Z","size":15,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-19T11:09:20.097Z","etag":null,"topics":[],"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/EFForg.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,"zenodo":null}},"created_at":"2021-08-17T18:43:33.000Z","updated_at":"2025-03-07T17:11:01.000Z","dependencies_parsed_at":"2024-07-26T05:25:34.352Z","dependency_job_id":"c7c1709e-6196-40eb-8f20-ad742558db83","html_url":"https://github.com/EFForg/tokio-dl-stream-to-disk","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"f6016a9b9bf5dc763f1abd32e39de52cd103f5a1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EFForg%2Ftokio-dl-stream-to-disk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EFForg%2Ftokio-dl-stream-to-disk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EFForg%2Ftokio-dl-stream-to-disk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EFForg%2Ftokio-dl-stream-to-disk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EFForg","download_url":"https://codeload.github.com/EFForg/tokio-dl-stream-to-disk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252556311,"owners_count":21767338,"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":[],"created_at":"2024-11-09T05:28:08.733Z","updated_at":"2025-05-05T18:48:54.888Z","avatar_url":"https://github.com/EFForg.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--- `README.md` is automatically generated from the rustdoc using [`cargo-readme`](https://crates.io/crates/cargo-readme). --\u003e\n# `tokio-dl-stream-to-disk`\n\n[![crates.io](https://img.shields.io/crates/v/tokio-dl-stream-to-disk.svg)](https://crates.io/crates/tokio-dl-stream-to-disk)\n[![Documentation](https://docs.rs/tokio-dl-stream-to-disk/badge.svg)](https://docs.rs/tokio-dl-stream-to-disk)\n[![MIT licensed](https://img.shields.io/crates/l/tokio-dl-stream-to-disk.svg)](./LICENSE)\n[![CI](https://github.com/EFForg/tokio-dl-stream-to-disk/actions/workflows/ci.yml/badge.svg)](https://github.com/EFForg/tokio-dl-stream-to-disk/actions/workflows/ci.yml)\n\nA micro-library for downloading from a URL and streaming it directly to the disk\n\n## Getting Started\n\n```rust\nuse std::path::Path;\nuse tokio_dl_stream_to_disk::AsyncDownload;\n\n#[tokio::main]\nasync fn main() {\n    if AsyncDownload::new(\"https://bit.ly/3yWXSOW\", \u0026Path::new(\"/tmp\"), \"5mb_test.bin\").download(\u0026None).await.is_ok() {\n        println!(\"File downloaded successfully!\");\n    }\n}\n```\n\nLicense: MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefforg%2Ftokio-dl-stream-to-disk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fefforg%2Ftokio-dl-stream-to-disk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefforg%2Ftokio-dl-stream-to-disk/lists"}