Replace npm build script with new cargo run tool (#3832)

* move nix flake to root

* cargo run tool

* use thiserror in third-party-licenses tool

* prefere panic over exit

* Add automatic dependency check to cargo run tool

* Skip dependecies that are not needed for the current task

* Fixup

* Fixup

* fix windows

* Fixup

* improve usage text

* Fix linux bundle

* add graphen-cli

* fix build profile

* fix

* release profile should not include debug infos

* Review

* remove profiling profile

was redundent with release

* rename to cargo-run tool

* improve consistency

* rename deps to requirements

* fix

* return success when showing usage
This commit is contained in:
Timon
2026-03-07 13:26:19 +00:00
committed by GitHub
parent 50ef6e15cb
commit 5d22292072
39 changed files with 664 additions and 404 deletions
+1
View File
@@ -13,6 +13,7 @@ desktop = ["dep:cef-dll-sys", "dep:scraper"]
serde = { workspace = true }
serde_json = { workspace = true }
lzma-rust2 = { workspace = true }
thiserror = { workspace = true }
# Optional workspace dependencies
cef-dll-sys = { workspace = true, optional = true }