Compare commits

..

2 Commits
1.0.0 ... main

Author SHA1 Message Date
153ddb8419 nix and compile features 2025-02-26 18:09:09 +03:00
db144d3bd2 nix 2025-02-26 18:06:59 +03:00
7 changed files with 2138 additions and 4 deletions

1
.gitignore vendored Normal file → Executable file
View File

@ -1,3 +1,2 @@
/target /target
/.vscode /.vscode
/Cargo.lock

2109
Cargo.lock generated Executable file

File diff suppressed because it is too large Load Diff

5
Cargo.toml Normal file → Executable file
View File

@ -7,9 +7,8 @@ edition = "2021"
[dependencies] [dependencies]
arboard = "3.3.2" arboard = "3.3.2"
rdev = "0.5.3"
winit = "0.29.15" winit = "0.29.15"
tiny-skia = "0.11.4" tiny-skia = "0.11.4"
softbuffer = "0.4.2" softbuffer = "0.4.2"
rdev = "0.5.3" fontdue = "0.8.0"
fontdue = "0.8.0"
send_wrapper = { version = "0.6.0", features = ["futures"] }

0
README.md Normal file → Executable file
View File

4
build.sh Executable file
View File

@ -0,0 +1,4 @@
for i in i686-unknown-linux-gnu i686-pc-windows-gnu x86_64-pc-windows-gnu x86_64-unknown-linux-gnu
do
cargo build --release --target $i
done

23
shell.nix Executable file
View File

@ -0,0 +1,23 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
pkg-config
xorg.libX11.dev
xorg.libXft
xorg.libXinerama
xorg.libXi
xorg.libXtst
xorg.libX11
xorg.libXcursor
xorg.libXrandr
libxkbcommon
libxkbcommon.dev
xorg.libxcb
alsa-lib
libudev-zero
openssl
];
shellHook = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${pkgs.libxkbcommon}/lib
'';
}

0
src/main.rs Normal file → Executable file
View File