2022-11-11 16:29:16 +00:00
|
|
|
[package]
|
|
|
|
name = "anime-launcher-sdk"
|
2023-07-14 05:27:35 +00:00
|
|
|
version = "1.8.5"
|
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"
|
2023-05-27 18:11:39 +00:00
|
|
|
repository = "https://github.com/an-anime-team/anime-launcher-sdk"
|
2022-11-11 16:29:16 +00:00
|
|
|
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"
|
2023-06-19 08:41:40 +00:00
|
|
|
tag = "1.13.2"
|
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 11:33:56 +00:00
|
|
|
|
2023-03-25 09:10:55 +00:00
|
|
|
[dependencies]
|
2023-03-25 11:33:56 +00:00
|
|
|
anyhow = { version = "1.0", features = ["backtrace"] }
|
2023-02-22 23:01:16 +00:00
|
|
|
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
|
|
|
|
2023-06-07 12:24:41 +00:00
|
|
|
cached = { version = "0.44", features = ["proc_macro"] }
|
2023-02-25 21:06:01 +00:00
|
|
|
enum-ordinalize = { version = "3.1", optional = true }
|
2023-01-28 17:54:53 +00:00
|
|
|
|
2023-06-14 11:24:07 +00:00
|
|
|
wincompatlib = { version = "0.7.3", features = ["all"], optional = true }
|
2023-02-25 21:06:01 +00:00
|
|
|
lazy_static = { version = "1.4", optional = true }
|
2023-02-26 11:59:28 +00:00
|
|
|
md-5 = { version = "0.10", features = ["asm"], optional = true }
|
2023-03-02 20:26:32 +00:00
|
|
|
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"]
|
2023-04-22 21:31:00 +00:00
|
|
|
star-rail = ["anime-game-core/star-rail"]
|
2023-05-21 09:33:07 +00:00
|
|
|
honkai = ["anime-game-core/honkai"]
|
2023-05-27 18:11:39 +00:00
|
|
|
pgr = ["anime-game-core/pgr"]
|
2023-04-13 22:24:52 +00:00
|
|
|
|
2023-06-10 20:08:06 +00:00
|
|
|
genshin-patch = ["anime-game-core/patch-dawn"]
|
|
|
|
star-rail-patch = ["anime-game-core/patch-jadeite"]
|
2023-06-10 20:35:43 +00:00
|
|
|
honkai-patch = [
|
|
|
|
"anime-game-core/patch-jadeite",
|
|
|
|
"anime-game-core/patch-mfplat"
|
|
|
|
]
|
2023-06-14 11:24:07 +00:00
|
|
|
pgr-patch = ["anime-game-core/patch-mfc140"]
|
2023-06-10 20:08:06 +00:00
|
|
|
|
2023-04-13 22:24:52 +00:00
|
|
|
# Common features
|
2022-11-11 16:29:16 +00:00
|
|
|
states = []
|
2023-01-28 17:54:53 +00:00
|
|
|
config = ["dep:serde", "dep:serde_json", "dep:enum-ordinalize"]
|
2022-11-11 21:31:36 +00:00
|
|
|
components = ["dep:wincompatlib", "dep:lazy_static"]
|
2022-11-12 07:51:35 +00:00
|
|
|
game = ["components", "config"]
|
2023-03-02 20:26:32 +00:00
|
|
|
discord-rpc = ["dep:discord-rich-presence"]
|
2023-04-16 08:20:27 +00:00
|
|
|
sandbox = []
|
2023-05-05 12:49:37 +00:00
|
|
|
sessions = []
|
2023-04-13 22:24:52 +00:00
|
|
|
|
|
|
|
# Genshin-specific features
|
2023-04-06 20:06:53 +00:00
|
|
|
environment-emulation = []
|
2023-04-13 22:24:52 +00:00
|
|
|
fps-unlocker = ["dep:md-5"]
|
2022-11-11 16:29:16 +00:00
|
|
|
|
2023-05-18 16:47:39 +00:00
|
|
|
all = [
|
|
|
|
"states",
|
|
|
|
"config",
|
|
|
|
"components",
|
|
|
|
"game",
|
|
|
|
"discord-rpc",
|
|
|
|
"sandbox",
|
|
|
|
"sessions",
|
|
|
|
"environment-emulation",
|
|
|
|
"fps-unlocker"
|
|
|
|
]
|
|
|
|
|
2023-03-31 08:18:02 +00:00
|
|
|
default = ["all"]
|