https://github.com/syaw0/rust-temperature-convert-cli
Simple Rust cli app convert temperature between Fahrenheit and Celsius
https://github.com/syaw0/rust-temperature-convert-cli
cli converter rust rust-lang rustlang temperature
Last synced: 4 months ago
JSON representation
Simple Rust cli app convert temperature between Fahrenheit and Celsius
- Host: GitHub
- URL: https://github.com/syaw0/rust-temperature-convert-cli
- Owner: Syaw0
- License: mit
- Created: 2024-07-28T06:33:34.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-07-28T08:05:01.000Z (11 months ago)
- Last Synced: 2025-01-19T22:50:59.689Z (6 months ago)
- Topics: cli, converter, rust, rust-lang, rustlang, temperature
- Language: Rust
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rust Temperature Convert CLI
A simple command-line interface (CLI) application written in Rust to convert temperature between Fahrenheit and Celsius.
## Overview
This project is a practical learning exercise to demonstrate my understanding of Rust programming concepts, including:
- Controlling program flow using `loop` and `match` statements
- Handling errors and exceptions
- Validating inputs properly
- Building a CLI application using Rust's standard library## Features
- Convert temperature from Fahrenheit to Celsius
- Convert temperature from Celsius to Fahrenheit
- Simple and intuitive command-line interface## Getting Started
To use this application, simply compile and run the code using Rust's `cargo` tool.
## Usage
- Run the application using `cargo run`
- Follow the prompts to convert temperature between Fahrenheit and Celsius## Future Development
This project is a starting point for further learning and development. Future features may include:
- Adding support for other temperature units (e.g., Kelvin)
- Implementing more advanced error handling and validation
- Improving the user interface and experience## License
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT).
## Contributing
Contributions are welcome If you'd like to contribute to this project, please fork the repository and submit a pull request.
## Acknowledgments
I'd like to thank the Rust community for their support and resources. This project would not have been possible without the help of online tutorials, documentation, and forums.