Desktop | Fantaasta
#[cfg(test)] mod tests use super::*; #[test] fn test_get_player_stats() let result = get_player_stats("football".to_string()); assert!(result.is_ok());
Use GitHub Actions to build for all platforms on tag push: fantaasta desktop
return ( <div className="p-4 border rounded-lg shadow"> <h2 className="text-xl font-bold">Draft Simulator</h2> <button onClick=handleSimulate className="mt-2 px-4 py-2 bg-blue-500 text-white rounded"> Simulate Draft </button> results && <pre>JSON.stringify(results, null, 2)</pre> </div> ); #[cfg(test)] mod tests use super::*