nezha/Cargo.toml

33 lines
834 B
TOML
Raw Normal View History

2023-07-27 18:40:06 +08:00
[package]
name = "nezha"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
2023-08-01 00:19:05 +08:00
default = ["pokemmo"]
2023-07-27 18:40:06 +08:00
2023-08-22 00:01:59 +08:00
pokemmo = ["screen", "ocr", "joystick", "dep:image", "pokemon", "detector"]
2023-07-27 18:40:06 +08:00
screen = ["dep:screenshots"]
2023-08-22 00:01:59 +08:00
ocr = ["dep:rusty-tesseract", "dep:image"]
joystick = ["dep:enigo","dep:rand"]
2023-08-14 18:27:08 +08:00
pokemon = []
detector = ["dep:crossterm"]
2023-07-27 18:40:06 +08:00
[lib]
name = "nezha"
path = "src/lib.rs"
[dependencies]
2023-08-14 18:27:08 +08:00
log = "0.4.20"
2023-07-27 18:40:06 +08:00
enigo = { version = "0.1.2", optional = true }
2023-08-01 00:19:05 +08:00
screenshots = { version = "0.7.0", optional = true }
2023-08-22 00:01:59 +08:00
image = { version = "0.24.6", optional = true }
crossterm = { version = "0.27.0", optional = true }
rusty-tesseract = { version = "1.1.7", optional = true }
rand = { version = "0.8.5", optional = true }
simple-logging = {version = "2.0.2"}