anime-launcher-sdk/Cargo.toml

71 lines
1.8 KiB
TOML
Raw Normal View History

2022-11-11 16:29:16 +00:00
[package]
name = "anime-launcher-sdk"
2024-05-08 16:56:31 +00:00
version = "1.12.9"
2024-03-27 16:08:02 +00:00
authors = ["Nikita Podvirnyi <krypt0nn@vk.com>"]
2022-11-11 16:29:16 +00:00
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"
2024-05-08 16:56:31 +00:00
tag = "1.17.7"
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
2024-05-08 16:56:31 +00:00
cached = { version = "0.51", features = ["proc_macro"] }
2024-03-24 09:59:26 +00:00
enum-ordinalize = { version = "4.3", optional = true }
wincompatlib = { version = "0.7.4", features = ["all"], optional = true }
2023-09-28 15:49:27 +00:00
lazy_static = { version = "1.4.0", 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"]
star-rail = ["anime-game-core/star-rail"]
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
star-rail-patch = ["anime-game-core/patch-jadeite"]
honkai-patch = [
"anime-game-core/patch-jadeite",
"anime-game-core/patch-mfplat"
]
pgr-patch = ["anime-game-core/patch-mfc140"]
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-05-05 12:49:37 +00:00
sessions = []
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
all = [
"states",
"config",
"components",
"game",
"discord-rpc",
"sandbox",
"sessions",
"environment-emulation",
"fps-unlocker"
]
2023-03-31 08:18:02 +00:00
default = ["all"]