| Crates.io | rustdex |
| lib.rs | rustdex |
| version | 0.1.0 |
| created_at | 2025-06-10 00:11:55.687619+00 |
| updated_at | 2025-06-10 00:11:55.687619+00 |
| description | A terminal-based Pokédex written in Rust |
| homepage | |
| repository | https://github.com/pedrobrantes/rustdex |
| max_upload_size | |
| id | 1706510 |
| size | 78,292 |
A terminal-based Pokédex application written in Rust. This project serves as both a useful tool for Pokémon fans and a professional portfolio piece demonstrating best practices in Rust software engineering, including a modular architecture, comprehensive testing, and an automated CI/CD pipeline.
cargoOnce published, you can install rustdex directly from crates.io:
cargo install rustdex
The primary way to use rustdex is through its subcommands.
Use the pokemon subcommand to fetch details for a specific Pokémon.
rustdex --pokemon <POKEMON_NAME> [OPTIONS]
# Fetch Pikachu with default image width
rustdex -p pikachu
# Fetch Snorlax with a larger image
rustdex --pokemon snorlax --width 120
This project follows a professional Git workflow. All new features are developed on feature/... branches and merged into develop via Pull Requests.
To set up the development environment:
Clone the repository.
Install the pre-commit hooks: pre-commit install.
Build the project: cargo build.
Run tests: cargo test.
This project is dual-licensed under the terms of both the MIT License and the Apache License 2.0.