build: added static
feature, enabled it by default
Could be helpful for people on arch and nix systems
This commit is contained in:
parent
e47af52646
commit
7286ef8b17
1 changed files with 4 additions and 2 deletions
|
@ -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"]
|
||||||
|
|
Loading…
Reference in a new issue