build: added static feature, enabled it by default

Could be helpful for people on arch and nix systems
This commit is contained in:
Observer KRypt0n_ 2023-03-09 16:09:07 +02:00
parent e47af52646
commit 7286ef8b17
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2

View file

@ -7,7 +7,7 @@ readme = "README.md"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
anime-game-core = { path = "anime-game-core", features = ["genshin", "all", "static"] } anime-game-core = { path = "anime-game-core", features = ["genshin", "all"] }
anyhow = "1.0" anyhow = "1.0"
dirs = "4.0.0" dirs = "4.0.0"
@ -31,5 +31,7 @@ game = ["components", "config"]
fps-unlocker = ["dep:md-5"] fps-unlocker = ["dep:md-5"]
discord-rpc = ["dep:discord-rich-presence"] discord-rpc = ["dep:discord-rich-presence"]
default = ["all"]
all = ["states", "config", "components", "game", "fps-unlocker", "discord-rpc"] all = ["states", "config", "components", "game", "fps-unlocker", "discord-rpc"]
static = ["anime-game-core/static"]
default = ["all", "static"]