added readme & cargo metadata
This commit is contained in:
parent
9c96c9f828
commit
fc03395c3f
3 changed files with 38 additions and 9 deletions
19
Cargo.toml
19
Cargo.toml
|
@ -1,15 +1,16 @@
|
|||
[package]
|
||||
name = "pixel_fight_rs"
|
||||
name = "pixel_fight"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
description = "A very simple zero-player fight simulator between groups of squares."
|
||||
authors = ["Matthieu JOLIMAITRE <matthieu@imagevo.fr>"]
|
||||
license = "MIT"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.50"
|
||||
clap = { version = "3.2.20", features = ["derive"] }
|
||||
rand = "0.8.5"
|
||||
rayon = "1.5.3"
|
||||
ron = "0.8.0"
|
||||
serde = { version = "1.0.144", features = ["derive"] }
|
||||
speedy2d = "1.8.0"
|
||||
clap = { version = "3.2", features = ["derive"] }
|
||||
rand = "0.8"
|
||||
rayon = "1.5"
|
||||
ron = "0.8"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
speedy2d = "1.8"
|
||||
|
|
28
README.md
Normal file
28
README.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Pixel Fight /rs
|
||||
|
||||

|
||||
|
||||
## Description
|
||||
|
||||
A very simple zero-player fight simulator between groups of squares.
|
||||
|
||||
## Usage
|
||||
|
||||
```sh
|
||||
USAGE:
|
||||
pixel_fight <SUBCOMMAND>
|
||||
|
||||
OPTIONS:
|
||||
-h, --help Print help information
|
||||
|
||||
SUBCOMMANDS:
|
||||
example Dumps an example fight configuration to stdout
|
||||
run Runs a fight from a configuration file
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
can be installed with rustup/cargo:
|
||||
```sh
|
||||
cargo install pixel_fight
|
||||
```
|
BIN
assets/capture.png
Normal file
BIN
assets/capture.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 315 KiB |
Loading…
Add table
Add a link
Reference in a new issue