anime-launcher-sdk/Cargo.toml

50 lines
1.5 KiB
TOML
Raw Normal View History

2022-11-11 16:29:16 +00:00
[package]
name = "anime-launcher-sdk"
2023-04-25 16:30:02 +00:00
version = "1.1.2"
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]
2023-04-23 16:02:37 +00:00
git = "https://github.com/an-anime-team/anime-game-core"
tag = "1.8.0"
2023-04-13 22:24:52 +00:00
features = ["all"]
2022-11-11 16:29:16 +00:00
2023-04-23 16:02:37 +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"] }
tracing = "0.1"
2022-11-11 16:29:16 +00:00
serde = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }
2023-04-16 10:22:15 +00:00
cached = { version = "0.43", features = ["proc_macro"] }
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]
2023-04-13 22:24:52 +00:00
genshin = ["anime-game-core/genshin"]
honkai = ["anime-game-core/honkai"]
star-rail = ["anime-game-core/star-rail"]
2023-04-13 22:24:52 +00:00
# Common features
2022-11-11 16:29:16 +00:00
states = []
config = ["dep:serde", "dep:serde_json", "dep:enum-ordinalize"]
components = ["dep:wincompatlib", "dep:lazy_static"]
game = ["components", "config"]
discord-rpc = ["dep:discord-rich-presence"]
2023-04-16 08:20:27 +00:00
sandbox = []
2023-04-13 22:24:52 +00:00
# Genshin-specific features
environment-emulation = []
2023-04-13 22:24:52 +00:00
fps-unlocker = ["dep:md-5"]
2022-11-11 16:29:16 +00:00
2023-04-16 08:20:27 +00:00
all = ["states", "config", "components", "game", "discord-rpc", "sandbox", "environment-emulation", "fps-unlocker"]
2023-03-31 08:18:02 +00:00
default = ["all"]