{"id":23900715,"url":"https://github.com/cod-e-codes/rust-temp-converter","last_synced_at":"2026-06-21T00:35:47.770Z","repository":{"id":269442256,"uuid":"907425567","full_name":"Cod-e-Codes/rust-temp-converter","owner":"Cod-e-Codes","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-23T15:16:59.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T09:43:36.889Z","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:53:37.000Z","updated_at":"2024-12-24T18:10:32.000Z","dependencies_parsed_at":"2024-12-23T16:21:53.909Z","dependency_job_id":"ac5c7c4a-67d3-40bb-bee1-e8f246fd2927","html_url":"https://github.com/Cod-e-Codes/rust-temp-converter","commit_stats":null,"previous_names":["cod-e-codes/rust-temp-converter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Cod-e-Codes/rust-temp-converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cod-e-Codes%2Frust-temp-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cod-e-Codes%2Frust-temp-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cod-e-Codes%2Frust-temp-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cod-e-Codes%2Frust-temp-converter/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-temp-converter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cod-e-Codes%2Frust-temp-converter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34590214,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"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:55.813Z","updated_at":"2026-06-21T00:35:47.741Z","avatar_url":"https://github.com/Cod-e-Codes.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Temperature Converter\n\nA simple command-line application written in Rust to convert temperatures between Celsius and Fahrenheit. This beginner-friendly project demonstrates basic input/output operations and temperature conversion formulas.\n\n## Features\n- **Celsius to Fahrenheit**: Converts a temperature value from Celsius to Fahrenheit.\n- **Fahrenheit to Celsius**: Converts a temperature value from Fahrenheit to Celsius.\n- **Quit Option**: Allows the user to exit the program gracefully.\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-temp-converter.git\n   cd rust-temp-converter\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```\nTemperature Converter\nChoose an option:\n1. Celsius to Fahrenheit\n2. Fahrenheit to Celsius\n3. Quit\n```\n\n### Convert Celsius to Fahrenheit\n1. Select `1` from the menu.\n2. Enter the temperature in Celsius.\n3. The program will display the equivalent temperature in Fahrenheit.\n\n### Convert Fahrenheit to Celsius\n1. Select `2` from the menu.\n2. Enter the temperature in Fahrenheit.\n3. The program will display the equivalent temperature in Celsius.\n\n### Quit\n1. Select `3` from the menu to exit the application.\n\n## Example\n```\nTemperature Converter\nChoose an option:\n1. Celsius to Fahrenheit\n2. Fahrenheit to Celsius\n3. Quit\nChoose an option: 1\nEnter temperature in Celsius: 25\n25°C is equal to 77.00°F\n\nChoose an option: 2\nEnter temperature in Fahrenheit: 77\n77°F is equal to 25.00°C\n\nChoose an option: 3\nExiting...\n```\n\n## File Structure\n- **`main.rs`**: The main program logic.\n\n## How It Works\n- **Conversion Formulas**:\n  - Celsius to Fahrenheit: `(C × 9/5) + 32`\n  - Fahrenheit to Celsius: `(F - 32) × 5/9`\n- **Error Handling**:\n  - Handles invalid input and prompts the user to enter a valid number.\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-temp-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcod-e-codes%2Frust-temp-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcod-e-codes%2Frust-temp-converter/lists"}