sys: add new dependencies to my local env and to Cargo

This commit is contained in:
Black_Raven committed 2026-03-27 15:23:16 +03:00
1 parent 51758c21bf
commit f4217ade7b
3 files changed
+3293 -18

No files matched your search

Generated
+3255 -17
View File
File diff suppressed because it is too large. Load diff
+6
View File
@@ -13,6 +13,12 @@ zip = "0.6"
dirs = "5.0" dirs = "5.0"
which = "6.0" which = "6.0"
serde_json = "1.0" serde_json = "1.0"
chrono = "0.4"
rfd = "0.14"
# GUI - simplified for better compatibility
eframe = { version = "0.27", features = ["default"] }
egui = "0.27"
[dev-dependencies] [dev-dependencies]
tempfile = "3.8" tempfile = "3.8"
+32 -1
View File
@@ -1,11 +1,42 @@
{ pkgs ? import <nixpkgs> {} }: { pkgs ? import <nixpkgs> {} }:
pkgs.mkShell { pkgs.mkShell {
nativeBuildInputs = with pkgs; [ buildInputs = with pkgs; [
cargo cargo
rustc rustc
rustfmt rustfmt
clippy clippy
rust-analyzer rust-analyzer
pkg-config
# Wayland (опционально, если оставляете wayland backend)
wayland
wayland-protocols
libxkbcommon
# X11 и OpenGL (необходимо для glow backend)
xorg.libX11
xorg.libXrandr
xorg.libXinerama
xorg.libXcursor
xorg.libXi
mesa
libglvnd
# Дополнительно
fontconfig
noto-fonts-color-emoji
]; ];
# Правильная настройка LD_LIBRARY_PATH
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
pkgs.wayland
pkgs.libxkbcommon
pkgs.xorg.libX11
pkgs.mesa
pkgs.libglvnd
];
# (Необязательно) принудительно использовать X11 backend
# WINIT_UNIX_BACKEND = "x11";
} }