anime-launcher-sdk/Cargo.toml

43 lines
1.3 KiB
TOML
Raw Normal View History

2022-11-11 16:29:16 +00:00
[package]
name = "anime-launcher-sdk"
version = "0.5.7"
2022-11-11 16:29:16 +00:00
authors = ["Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>"]
license = "GPL-3.0"
readme = "README.md"
edition = "2021"
2023-03-25 09:10:55 +00:00
[dependencies.anime-game-core]
git = "https://github.com/an-anime-team/anime-game-core"
tag = "1.4.5"
features = ["genshin", "all"]
2022-11-11 16:29:16 +00:00
# path = "../anime-game-core" # ! for dev purposes only
2023-03-25 09:10:55 +00:00
[dependencies]
anyhow = { version = "1.0", features = ["backtrace"] }
2023-03-22 15:21:32 +00:00
dirs = "5.0.0"
tracing = "0.1"
cached = { version = "0.42", features = ["proc_macro"] }
2022-11-11 16:29:16 +00:00
serde = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }
enum-ordinalize = { version = "3.1", optional = true }
wincompatlib = { version = "0.4", features = ["all"], optional = true }
lazy_static = { version = "1.4", optional = true }
md-5 = { version = "0.10", features = ["asm"], optional = true }
discord-rich-presence = { version = "0.2.3", optional = true }
2022-11-11 16:29:16 +00:00
[features]
states = []
config = ["dep:serde", "dep:serde_json", "dep:enum-ordinalize"]
components = ["dep:wincompatlib", "dep:lazy_static"]
game = ["components", "config"]
fps-unlocker = ["dep:md-5"]
discord-rpc = ["dep:discord-rich-presence"]
2022-11-11 16:29:16 +00:00
all = ["states", "config", "components", "game", "fps-unlocker", "discord-rpc"]
static = ["anime-game-core/static"]
default = ["all", "static"]