8000 [pull] main from can1357:main by pull[bot] · Pull Request #126 · ericrihm/oh-my-pi · GitHub
[go: up one dir, main page]

Skip to content
Merged
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
48 changes: 33 additions & 15 deletions Cargo.lock

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

11 changes: 9 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ members = [
"crates/pi-walker",
"crates/vendor/brush-core",
"crates/vendor/cfg_aliases",
"crates/vendor/napi",
"crates/vendor/tree-sitter-go",
]
resolver = "3"

[workspace.package]
version = "18.3.2"
version = "18.3.4"
edition = "2024"
license = "MIT"
authors = ["Stencil Labs, Inc."]
Expand All @@ -35,6 +36,9 @@ brush-core = { path = "crates/vendor/brush-core" }
# portable-pty 0.9.0 pins nix 0.28, whose cfg_aliases 0.1.1 expansion emits
# future-incompatible trailing semicolons.
cfg_aliases = { path = "crates/vendor/cfg_aliases" }
# napi 3.13.0 pins every `bun test --isolate` realm through per-thread handles
# of never-torn-down envs; the vendored copy releases them (see its README.md).
napi = { path = "crates/vendor/napi" }
# tree-sitter-go 0.25.0 (latest release) rejects Go 1.26 `new(expr)`; the
# vendored copy carries the upstream grammar fix (see its README.md).
tree-sitter-go = { path = "crates/vendor/tree-sitter-go" }
Expand Down Expand Up @@ -369,10 +373,13 @@ zune-jpeg = { version = "0.5", default-features = false, features = ["log"] }
tinyvec = "=1.13.3"
png = "0.18"
inferno = { version = "0.12", default-features = false }
# Oniguruma, not fancy-regex: onig is already linked (pi-builtins), and its
# compiled grammar regexes are ~5x smaller and faster (TS+TSX warm: 29 vs 149 MB
# RSS; a 16.8k-line .d.ts highlights in 226 vs 1166 ms).
syntect = { version = "5.3", default-features = false, features = [
"default-syntaxes",
"default-themes",
"regex-fancy",
"regex-onig",
"yaml-load",
] }

Expand Down
36 changes: 16 additions & 20 deletions MODULE.bazel.lock

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions bun.lock

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

1 change: 1 addition & 0 deletions crates/pi-natives/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ rust_shared_library(
"//crates/pi-vfs",
"//crates/pi-voice",
"//crates/pi-walker",
"//crates/vendor/napi",
],
)

Expand Down
45 changes: 45 additions & 0 deletions crates/vendor/napi/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
load("@crates//:defs.bzl", "aliases", "all_crate_deps")
load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

exports_files(["Cargo.toml"])

# Vendored napi-rs with the per-env leak fix (see README.md), promoted to a
# workspace member so Bazel treats it as first-party (crate_universe's path-dep
# rendering is machine-local and breaks lockfile portability). Feature list
# mirrors cargo's resolved set for pi-natives. build.rs is not wired in: it
# only sets cfgs for wasm32-wasip1-threads and links windows-gnu, neither of
# which ships; its check-cfg declarations are covered by --cap-lints.
rust_library(
name = "napi",
srcs = glob(["src/**/*.rs"]),
aliases = aliases(),
crate_features = [
"default",
"dyn-symbols",
"napi1",
"napi10",
"napi2",
"napi3",
"napi4",
"napi5",
"napi6",
"napi7",
"napi8",
"napi9",
"tokio",
"tokio_rt",
"tokio_time",
],
crate_name = "napi",
edition = "2021",
proc_macro_deps = all_crate_deps(proc_macro = True),
rustc_flags = ["--cap-lints=allow"],
tags = [
"noclippy",
"norustfmt",
],
version = "3.13.0",
deps = all_crate_deps(normal = True),
)
Loading
Loading
0