{"id":17350344,"url":"https://github.com/meskill/coinweb-code-challenge","last_synced_at":"2025-03-27T12:19:14.362Z","repository":{"id":173904540,"uuid":"650563843","full_name":"meskill/coinweb-code-challenge","owner":"meskill","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-09T08:37:31.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T02:01:40.303Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meskill.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}},"created_at":"2023-06-07T10:35:13.000Z","updated_at":"2023-06-09T08:38:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"a985c858-4dc1-4c78-98c5-9c0565fe5791","html_url":"https://github.com/meskill/coinweb-code-challenge","commit_stats":null,"previous_names":["meskill/coinweb-code-challenge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meskill%2Fcoinweb-code-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meskill%2Fcoinweb-code-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meskill%2Fcoinweb-code-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meskill%2Fcoinweb-code-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meskill","download_url":"https://codeload.github.com/meskill/coinweb-code-challenge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245841760,"owners_count":20681196,"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-10-15T17:06:35.638Z","updated_at":"2025-03-27T12:19:14.356Z","avatar_url":"https://github.com/meskill.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Task 01: Package Manager\n\nSolve the problem described below, and submit a link to the repository containing your solution to us.\n\n## Statement\n\nSuppose that you are working on  package manager. \nYour task is to implement the retrieval of binary packages in order for them to be installed in the system.\nThe package manager is capable of: given the name of a package, list of all repositories where the package can be found.\nAssume that the connection to the repositories is not stable and it can fail at any moment. \nHence, instead of downloading the package from a single repository, you will download the package from all sources in parallel, and if one of the downloads fails, you still have the other downloads.\nWhen a download finishes, you must stop the rest of downloads, and install the package. If all downloads fail, you must inform the user about this fact.\n\n### Bonus\n\n- If a download fails, retry the download.\n\n### Notes\n\nThe goal of this exercise is to evaluate your knowledge of async Rust. \n\nPlease, avoid using utilities like [tokio::JoinSet](https://docs.rs/tokio/latest/tokio/task/struct.JoinSet.html), nor crates that resolves this task for you.\n\n## Duration\n\nUp to 4 hours.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeskill%2Fcoinweb-code-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeskill%2Fcoinweb-code-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeskill%2Fcoinweb-code-challenge/lists"}