Skip to content

ahmlvs/rust-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-sandbox

Sandbox for Rust experiments.

Projects

  • binary_search - Binary search algorithm implementation
  • c2f - Temperature converter (Celsius to Fahrenheit)
  • md2html - Markdown to HTML converter
  • prt_scr - Screenshot utility
  • xor_cipher - XOR cipher implementation for text encryption/decryption

🚀 Quick Start

Prerequisites

  • Rust 1.70+ (2021 edition)

Run

# Run c2f project
cd c2f
cargo run

🧪 Testing

Run all tests:

cargo test

Run tests with output:

cargo test -- --nocapture

Run specific test:

cargo test test_name

🏗️ Development

Build

# Debug build
cargo build

# Release build (optimized)
cargo build --release

Run release build

# Run c2f project
./target/release/c2f

Code Quality

# Format code
cargo fmt

# Lint with Clippy
cargo clippy --all-targets --all-features -- -D warnings

Packages

No packages published

Languages