Skip to content

Commit

Permalink
update deps and nix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
rszyma committed Nov 30, 2024
1 parent 6fd5990 commit ad514d1
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 17 deletions.
18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

rust-overlay.url = "github:oxalica/rust-overlay/stable";
rust-overlay.inputs.nixpkgs.follows = "nixpkgs";
rust-overlay.inputs.flake-utils.follows = "flake-utils";
};

outputs = { self, nixpkgs, flake-utils, rust-overlay }:
Expand Down
23 changes: 16 additions & 7 deletions kls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,29 @@ bench = false
[dependencies]
kanata-parser = { path = "../kanata/parser", features = ["lsp", "cmd", "gui"]}

# The new Uri in 0.96.0 is unusable.
# issue: https://github.com/gluon-lang/lsp-types/issues/284
lsp-types = "0.95.0"

# https://github.com/rustwasm/wasm-pack/issues/1389
#
# panicked at /rust/deps/dlmalloc-0.2.6/src/dlmalloc.rs:1198:13:
# assertion failed: psize <= size + max_overhead
#
wasm-bindgen = "0.2.97" # 0.2.97 still gives panic when not using wee_malloc
wee_alloc = "0.4.5"

console_error_panic_hook = "0.1.7"
js-sys = "0.3.53"
lsp-types = "0.95.0"
serde = { version = "^1.0.194", features = ["derive"] }
serde-wasm-bindgen = "0.6.3"
wasm-bindgen = "0.2.92"
serde-wasm-bindgen = "0.6.5"
web-sys = { version = "0.3.64", features = ["console"] }
rustc-hash = "^1.1.0"
rustc-hash = "^2.1.0"
anyhow = "^1.0.72"
serde_json = "^1.0.104"
unicode-segmentation = "1.10.1"
unicode-segmentation = "^1.10.1"
zduny-wasm-timer = "0.2.8"
wee_alloc = "0.4.5"
itertools = "0.12.1"
itertools = "0.13.0"

[dev-dependencies]
# wasm-bindgen-test = "0.3.39"

0 comments on commit ad514d1

Please sign in to comment.