# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "miHoYo-API" version = "0.2.18" authors = ["Ennui.lw"] description = "A API-Wrapper of miHoYo games in Rust" readme = "README.md" keywords = [ "mihoyo", "hoyoverse", "genshin", "starrail", ] categories = [ "API", "API-Wrapper", ] license = "MIT" repository = "https://github.com/miHoYo-API/miHoYo-API-Wrapper" [dependencies.anyhow] version = "1.0.72" [dependencies.async-trait] version = "0.1.72" [dependencies.chrono] version = "0.4.31" [dependencies.collecting-hashmap] version = "0.2.0" [dependencies.dotenv] version = "0.15.0" [dependencies.itertools] version = "0.12.0" [dependencies.once_cell] version = "1.18.0" [dependencies.rand] version = "0.8.5" [dependencies.reqwest] version = "0.11" features = [ "json", "multipart", "stream", "cookies", ] [dependencies.rust-crypto] version = "0.2.36" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0.108" [dependencies.thiserror] version = "1.0.50" [dependencies.unicode-segmentation] version = "1.10.1" [dev-dependencies.tokio] version = "1.33" features = ["macros"] [features] default = [ "genshin", "honkai", "starrail", ] direct = [] full = [ "genshin", "honkai", "starrail", "working_on", "direct", ] genshin = [] honkai = [] mihomo = [] starrail = ["mihomo"] working_on = []