{"id":23900717,"url":"https://github.com/cod-e-codes/rust-todo-list","last_synced_at":"2025-10-06T10:59:35.752Z","repository":{"id":269441879,"uuid":"907424821","full_name":"Cod-e-Codes/rust-todo-list","owner":"Cod-e-Codes","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-23T15:17:10.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T18:42:52.346Z","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/Cod-e-Codes.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":"2024-12-23T14:51:51.000Z","updated_at":"2024-12-24T18:10:31.000Z","dependencies_parsed_at":"2024-12-23T16:19:31.631Z","dependency_job_id":"03e60d70-b80f-4468-b8b3-0bd8c9597503","html_url":"https://github.com/Cod-e-Codes/rust-todo-list","commit_stats":null,"previous_names":["cod-e-codes/rust-todo-list"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Cod-e-Codes/rust-todo-list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cod-e-Codes%2Frust-todo-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cod-e-Codes%2Frust-todo-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cod-e-Codes%2Frust-todo-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cod-e-Codes%2Frust-todo-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cod-e-Codes","download_url":"https://codeload.github.com/Cod-e-Codes/rust-todo-list/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cod-e-Codes%2Frust-todo-list/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278598600,"owners_count":26013289,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-01-04T20:36:56.394Z","updated_at":"2025-10-06T10:59:35.734Z","avatar_url":"https://github.com/Cod-e-Codes.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust To-Do List Application\n\nA simple command-line To-Do List Manager written in Rust. This project allows users to add, list, mark as complete, and delete tasks. Task data is saved in a JSON file (`tasks.json`) to ensure persistence between sessions.\n\n## Features\n- **Add tasks**: Create a new task with a description.\n- **List tasks**: View all tasks with their status (completed or not).\n- **Mark tasks as complete**: Update the status of a task to completed.\n- **Delete tasks**: Remove a task from the list.\n- **Persistent storage**: Tasks are saved in a JSON file.\n\n## Requirements\n- [Rust](https://www.rust-lang.org/) (version 1.65.0 or later)\n\n## Installation\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/Cod-e-Codes/rust-todo-list.git\n   cd rust-todo-list\n   ```\n2. Build the project:\n   ```bash\n   cargo build --release\n   ```\n3. Run the project:\n   ```bash\n   cargo run\n   ```\n\n## Usage\nWhen you run the application, you will be presented with a menu:\n\n```\nTo-Do List Manager\n1. Add Task\n2. List Tasks\n3. Mark Task as Complete\n4. Delete Task\n5. Quit\nChoose an option:\n```\n\n### Add Task\n1. Select `1` from the menu.\n2. Enter a description for the new task.\n3. The task will be added and displayed in the list of tasks.\n\n### List Tasks\n1. Select `2` from the menu.\n2. View all tasks with their status (✔ for completed, ✘ for not completed).\n\n### Mark Task as Complete\n1. Select `3` from the menu.\n2. Enter the ID of the task you want to mark as complete.\n3. The task will be updated with a ✔ status.\n\n### Delete Task\n1. Select `4` from the menu.\n2. Enter the ID of the task you want to delete.\n3. The task will be removed from the list.\n\n### Quit\n1. Select `5` from the menu to save tasks and exit the application.\n\n## Example\n```\nTo-Do List Manager\n1. Add Task\n2. List Tasks\n3. Mark Task as Complete\n4. Delete Task\n5. Quit\nChoose an option: 1\nEnter task description: Write a README for my Rust project\nTask added successfully!\n\nChoose an option: 2\nTasks:\n1: Write a README for my Rust project [✘]\n\nChoose an option: 3\nEnter task ID to mark as complete: 1\nTask marked as complete.\n\nChoose an option: 2\nTasks:\n1: Write a README for my Rust project [✔]\n\nChoose an option: 5\nExiting...\n```\n\n## File Structure\n- **`main.rs`**: The main program logic.\n- **`tasks.json`**: The JSON file where tasks are saved.\n\n## Dependencies\n- `serde`: Used for serializing and deserializing task data.\n- `serde_json`: Used for working with JSON data.\n\n## License\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n\n## Contributing\nContributions are welcome! Feel free to open an issue or submit a pull request.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcod-e-codes%2Frust-todo-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcod-e-codes%2Frust-todo-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcod-e-codes%2Frust-todo-list/lists"}