Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -527,9 +527,6 @@ members = [
[workspace.dependencies.rivet-ups-protocol]
path = "engine/sdks/rust/ups-protocol"

[workspace.dependencies.rivetkit-sqlite-native]
path = "rivetkit-typescript/packages/sqlite-native"

[profile.dev]
overflow-checks = false
# "line-tables-only" produces just the line-number DWARF needed for stack
Expand Down
9 changes: 7 additions & 2 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
pre-commit:
parallel: true
commands:
cargo-lock:
run: cargo metadata --locked --no-deps >/dev/null
tags: lockfile
pnpm-lock:
run: pnpm install --frozen-lockfile --ignore-scripts
tags: lockfile
cargo-fmt:
run: cargo fmt --all
tags: formatting
Expand All @@ -10,10 +16,9 @@ pre-commit:
# run: pnpm fmt
# tags: formatting
# stage_fixed: true
# TODO: this is being a pain in my ass we'll figrue out a better way
# TODO: this is being a pain in my ass we'll figrue out a better way
# generate-vercel-examples:
# glob: "examples/**/*"
# exclude: "examples/*-vercel/**/*"
# run: npx tsx scripts/vercel-examples/generate-vercel-examples.ts
# stage_fixed: true

41 changes: 40 additions & 1 deletion pnpm-lock.yaml

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

Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ pub async fn open_database_from_envoy(
rt_handle,
preloaded_entries,
)
.map_err(|e| napi::Error::from_reason(format!("failed to register VFS: {}", e)))?;
.map_err(|e| napi::Error::from_reason(format!("failed to register VFS: {}", e)))?;

rivetkit_sqlite_native::vfs::open_database(vfs, &actor_id)
.map_err(|e| napi::Error::from_reason(format!("failed to open database: {}", e)))
Expand Down
Loading