[package] name = "ascii-hangman-backend" version = "5.7.2" authors = ["Jens Getreu "] edition = "2021" readme = "../README.md" license = "MIT/Apache-2.0" categories = ["command-line-utilities", "games", "text-processing"] description = "customizable Hangman game with ASCII-art rewarding for children (backend)" repository = "https://github.com/getreu/ascii-hangman" documentation = "https://getreu.gitlab.io/_downloads/ascii-hangman--manual.pdf" [package.metadata.deb] maintainer = "Jens Getreu, " copyright = "2015-2020, Jens Getreu " depends = "$auto" extended-description = ''' A little game designed for primary kids to revise vocabulary in classroom. Setting up the vocabulary list is part of the learning process. Hangman is a paper and pencil guessing game for two or more players. One player thinks of a word, phrase or sentence and the other tries to guess it by suggesting letters or numbers, within a certain number of guesses. In this version for children the computer selects a word, phrase or sentence randomly out of a word-list defined in a configuration file. As a reward, with every guessed letter, some ASCII-art is gradually disclosed. ''' [dependencies] thiserror = "1.0.30" serde = "1.0.130" serde_yaml = "0.8.21" serde_derive = "1.0.130" [target.'cfg(target_arch = "wasm32")'.dependencies] rand = { version = "0.8.4", features = ["getrandom"] } # This has to fit the version required by `rand` above! getrandom = { version = "0.2.3", features = ["js"] } # this is what we need for the console application [target.'cfg(not(target_arch = "wasm32"))'.dependencies] rand = "0.8.4"