43 lines
1.0 KiB
TOML
43 lines
1.0 KiB
TOML
[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","sms"]
|
|
screen = ["dep:screenshots"]
|
|
ocr = ["dep:rusty-tesseract", "dep:image"]
|
|
joystick = ["dep:enigo","dep:rand"]
|
|
pokemon = []
|
|
detector = ["dep:crossterm"]
|
|
sms = []
|
|
|
|
|
|
[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 }
|
|
|
|
log4rs = {version = "1.2.0"}
|
|
#sms = {version = "0.1.8", optional = true}
|
|
futures = "0.3"
|
|
|
|
reqwest = { version = "0.11.18", features = ["json", "blocking"]}
|
|
chrono = { version = "0.4.24"}
|
|
ring = "0.16"
|
|
urlencoding = "2.1.0"
|
|
base64 = "0.21.5" |