| Crates.io | tempconverter2025 |
| lib.rs | tempconverter2025 |
| version | 0.1.1 |
| created_at | 2025-05-21 05:15:01.854211+00 |
| updated_at | 2025-09-05 16:18:46.578086+00 |
| description | Simple Rust library to convert temperatures between Celsius, Fahrenheit, and Kelvin. |
| homepage | |
| repository | https://github.com/Cryptonations/tempconverter2025 |
| max_upload_size | |
| id | 1682947 |
| size | 5,964 |
A simple Rust library to convert temperatures between Celsius, Fahrenheit, and Kelvin.
Add this to your Cargo.toml:
tempconverter2025 = "0.1.0"
Then in your code:
use tempconverter2025::*;
fn main() {
println!("{}", celsius_to_fahrenheit(0.0)); // 32.0
println!("{}", fahrenheit_to_celsius(212.0)); // 100.0
println!("{}", celsius_to_kelvin(100.0)); // 373.15
}