diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..1d953f4 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use nix diff --git a/.gitignore b/.gitignore index ff0d847..4010a67 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /target -/.vscode +/.direnv + Cargo.lock diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/anime-launcher-sdk.iml b/.idea/anime-launcher-sdk.iml new file mode 100644 index 0000000..cf84ae4 --- /dev/null +++ b/.idea/anime-launcher-sdk.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..c78ffc7 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index b323117..2854c87 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anime-launcher-sdk" -version = "1.12.10" +version = "1.12.11" authors = ["Nikita Podvirnyi "] license = "GPL-3.0" readme = "README.md" @@ -9,7 +9,7 @@ edition = "2021" [dependencies.anime-game-core] git = "https://github.com/an-anime-team/anime-game-core" -tag = "1.17.8" +tag = "1.17.9" features = ["all"] # path = "../anime-game-core" # ! for dev purposes only @@ -27,7 +27,7 @@ enum-ordinalize = { version = "4.3", optional = true } wincompatlib = { version = "0.7.4", features = ["all"], optional = true } 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 } +discord-rich-presence = { version = "0.2.4", optional = true } [features] genshin = ["anime-game-core/genshin"] diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..f4ffed5 --- /dev/null +++ b/shell.nix @@ -0,0 +1,27 @@ +let + nixpkgs = builtins.fetchGit { + name = "nixos-23.11"; + url = "https://github.com/nixos/nixpkgs"; + ref = "refs/heads/nixos-23.11"; + }; + + nixpkgs-unstable = builtins.fetchGit { + name = "nixos-unstable"; + url = "https://github.com/nixos/nixpkgs"; + ref = "refs/heads/nixos-unstable"; + }; + + pkgs = import nixpkgs {}; + pkgs-unstable = import nixpkgs-unstable {}; + +in pkgs.mkShell { + nativeBuildInputs = with pkgs; [ + pkgs-unstable.rustup + pkgs-unstable.rustfmt + pkgs-unstable.clippy + + gcc + cmake + pkg-config + ]; +}