basic cursor moving

This commit is contained in:
Mona Mayrhofer 2026-02-28 22:24:42 +01:00
parent e4d51f09a1
commit 966fdbbd50
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 374AB152BDEBA1AE
29 changed files with 7052 additions and 52 deletions

View file

@ -56,15 +56,46 @@
devenv.shells.default =
let
fnx = inputs'.fenix.packages;
rustToolchain = fnx.beta.toolchain;
rustToolchain = fnx.combine [
fnx.complete.cargo
fnx.complete.clippy
fnx.complete.rust-src
fnx.complete.rustc
fnx.complete.rustfmt
fnx.targets.wasm32-unknown-unknown.latest.rust-std
];
# rustToolchain = fnx.combine [
# fnx.complete.cargo
# fnx.complete.clippy
# fnx.complete.rust-src
# fnx.complete.rustc
# fnx.complete.rustfmt
# ];
wasmBindgen = with pkgs; rustPlatform.buildRustPackage rec {
pname = "wasm-bindgen-cli";
version = "0.2.114";
src = fetchCrate {
pname = pname;
version = version;
hash = "sha256-xrCym+rFY6EUQFWyWl6OPA+LtftpUAE5pIaElAIVqW0=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit src;
inherit (src) pname version;
hash = "sha256-Z8+dUXPQq7S+Q7DWNr2Y9d8GMuEdSnq00quUR0wDNPM=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
openssl
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
curl
];
nativeCheckInputs = [ nodejs_latest ];
# tests require it to be ran in the wasm-bindgen monorepo
doCheck = false;
};
in
{
name = "my-project";
@ -75,8 +106,10 @@
pkgs.cargo-deny
pkgs.cargo-nextest
pkgs.typos
pkgs.binaryen #wasm-opt
rustToolchain
fnx.rust-analyzer
wasmBindgen
];