4169e90225
- partially fixed sandboxed game running will require a bit more stuff to do in future to fix other compatibility issues
49 lines
1.5 KiB
TOML
49 lines
1.5 KiB
TOML
[package]
|
|
name = "anime-launcher-sdk"
|
|
version = "1.1.6"
|
|
authors = ["Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>"]
|
|
license = "GPL-3.0"
|
|
readme = "README.md"
|
|
edition = "2021"
|
|
|
|
[dependencies.anime-game-core]
|
|
git = "https://github.com/an-anime-team/anime-game-core"
|
|
tag = "1.8.0"
|
|
features = ["all"]
|
|
|
|
# path = "../anime-game-core" # ! for dev purposes only
|
|
|
|
[dependencies]
|
|
anyhow = { version = "1.0", features = ["backtrace"] }
|
|
tracing = "0.1"
|
|
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
|
serde_json = { version = "1.0", optional = true }
|
|
|
|
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 }
|
|
|
|
[features]
|
|
genshin = ["anime-game-core/genshin"]
|
|
honkai = ["anime-game-core/honkai"]
|
|
star-rail = ["anime-game-core/star-rail"]
|
|
|
|
# Common features
|
|
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"]
|
|
sandbox = []
|
|
|
|
# Genshin-specific features
|
|
environment-emulation = []
|
|
fps-unlocker = ["dep:md-5"]
|
|
|
|
all = ["states", "config", "components", "game", "discord-rpc", "sandbox", "environment-emulation", "fps-unlocker"]
|
|
default = ["all"]
|