[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] default = ["pokemmo"] pokemmo = ["screen", "ocr", "joystick", "dep:image", "pokemon", "detector"] screen = ["dep:screenshots"] ocr = ["dep:rusty-tesseract", "dep:image"] joystick = ["dep:enigo","dep:rand"] pokemon = [] detector = ["dep:crossterm"] [lib] name = "nezha" path = "src/lib.rs" [dependencies] log = "0.4.20" enigo = { version = "0.1.2", optional = true } screenshots = { version = "0.7.0", optional = true } 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"}