Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
deps: add vendor depenency crate
Add cargo config to support building a unified cargo static lib to
include multiple crate dependencies to be used by Node.js.

This also allows additional crate dependencies to be added, like amaro.
  • Loading branch information
legendecas committed Dec 15, 2025
commit cd2854fcb50cccf04841f45c38b8c69ee479c29b
4 changes: 2 additions & 2 deletions .github/workflows/test-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
- deps/ada/**
- deps/brotli/**
- deps/cares/**
- deps/crates/**
- deps/corepack/**
- deps/icu-small/**
- deps/icu-tmp/**
Expand All @@ -25,7 +26,6 @@ on:
- deps/openssl/*/**
- deps/simdjson/**
- deps/sqlite/**
- deps/temporal/**
- deps/uv/**
- deps/uvwasi/**
- deps/zlib/**
Expand Down Expand Up @@ -62,6 +62,7 @@ on:
- deps/ada/**
- deps/brotli/**
- deps/cares/**
- deps/crates/**
- deps/corepack/**
- deps/icu-small/**
- deps/icu-tmp/**
Expand All @@ -71,7 +72,6 @@ on:
- deps/openssl/*/**
- deps/simdjson/**
- deps/sqlite/**
- deps/temporal/**
- deps/uv/**
- deps/uvwasi/**
- deps/zlib/**
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1232,6 +1232,7 @@ ifeq ($(SKIP_SHARED_DEPS), 1)
$(RM) -r $(TARNAME)/deps/ada
$(RM) -r $(TARNAME)/deps/brotli
$(RM) -r $(TARNAME)/deps/cares
$(RM) -r $(TARNAME)/deps/crates
$(RM) -r $(TARNAME)/deps/icu-small
$(RM) -r $(TARNAME)/deps/icu-tmp
$(RM) -r $(TARNAME)/deps/llhttp
Expand All @@ -1241,7 +1242,6 @@ ifeq ($(SKIP_SHARED_DEPS), 1)
find $(TARNAME)/deps/openssl -mindepth 1 -maxdepth 1 -type d -exec $(RM) -r {} +
$(RM) -r $(TARNAME)/deps/simdjson
$(RM) -r $(TARNAME)/deps/sqlite
$(RM) -r $(TARNAME)/deps/temporal
$(RM) -r $(TARNAME)/deps/uv
$(RM) -r $(TARNAME)/deps/uvwasi
$(RM) -r $(TARNAME)/deps/zlib
Expand Down
5 changes: 5 additions & 0 deletions deps/crates/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[source.crates-io]
replace-with = "vendored-sources"

[source.vendored-sources]
directory = "vendor"
3 changes: 3 additions & 0 deletions deps/crates/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Include everything in `vendor/` except for hidden files
!vendor/**/*
.DS_Store
Loading