pkmn-core-types

Crates.iopkmn-core-types
lib.rspkmn-core-types
version0.1.0
created_at2024-12-27 03:46:20.270872+00
updated_at2024-12-27 03:46:20.270872+00
descriptionBasic types for Pokémon games.
homepage
repositoryhttps://codeberg.org/ayashibox/pkmn-core-types
max_upload_size
id1496164
size135,500
(Zayaldrie)

documentation

README

pkmn-core-types

Rust library with basic types for use with Pokémon games.

This includes types that represent Pokémon species, items, moves, abilities, natures, and types with values that correspond to the index numbers commonly used in the Pokémon games. These types support serde serialization and deserialization based on the English names for each.

Goals

  • No unsafe code.
  • no_std compatible.
  • Never panic.
  • Limited feature scope.
  • Minimal dependencies.

Cargo features

This library has a default but optional "std" feature for building with the Rust Standard Library. Build with default features disabled to support no_std environments. alloc is optional as well.

[depdendencies]
pkmn-core-types = {version = "0.1.0", default-features = false, features = ["alloc"]}
Commit count: 0

cargo fmt