Files
zeekay 1b367e2b62 chore: rebase the tree onto upstream master
The tree was a debranded snapshot of upstream taken around 2026-02-20, and
upstream has moved about five months since. This replaces it with upstream
master, mechanically re-derived: bin/debrand does the rename, and the
pipeline and squashed migrations are restored from the shipped tree.

Not a merge. The previous import replaced the tree wholesale in a single
commit, so there is no shared content history to merge against. Reproducing
the rename on the new tree is what actually converges.

What survives: .hanzo/workflows, the Dockerfiles and bin/docker* entrypoints,
compose files, LLM.md, and insights/migrations. The squashed initial
migration is load-bearing — the live database records it by name, so
upstream's ~918 individual migrations cannot come back.

Nine products are dropped as unreferenced. Twenty-one more that we do not run
are kept anyway because the core app still imports them; unpicking those is a
refactor and does not belong in a rebase.

This base does not build yet, and the reasons are not in the rename:
upstream now wants Python 3.13.13 against our 3.12.12 and Django 5.2 against
our 4.2, and the dependency manifests still name upstream packages that we
republish under our own names. Those are decisions, not renames.
2026-08-01 15:44:40 -07:00

26 lines
1.4 KiB
TOML

# Unlocks Tokio's unstable RuntimeMetrics API (per-worker poll counts, blocking pool stats, etc.).
# Used by feature-flags/src/tokio_monitor.rs — no other crate calls unstable APIs.
# Applies workspace-wide because Cargo doesn't support per-crate config within a workspace.
#
# NOTE: [build].rustflags is mutually exclusive with [target.*].rustflags: when a target entry
# matches, [build] is ignored for that target. The macOS aarch64 entry below therefore repeats
# --cfg tokio_unstable so it is not silently dropped for that platform.
[build]
rustflags = ["--cfg", "tokio_unstable"]
# Use lld for linking on Apple Silicon dev builds. Flox only installs lld for
# aarch64-darwin, so we scope this to match. clang's -fuse-ld=lld resolves to
# ld64.lld (Mach-O flavor) on macOS automatically.
[target.'cfg(all(target_os = "macos", target_arch = "aarch64"))']
rustflags = ["--cfg", "tokio_unstable", "-C", "link-arg=-fuse-ld=lld"]
[env]
# Force SQLX to run in offline mode for CI. Devs can change this if they want, to live code against the DB,
# but we use it at the workspace level here to allow use of sqlx macros across all crates
SQLX_OFFLINE = "true"
# Disable CPU jitter entropy in aws-lc-sys to fix macOS build failures.
# The jitterentropy C code includes CoreServices.h which pulls in hfs_format.h,
# hitting a missing uuid_string_t type on macOS SDKs. OS entropy sources still work.
# See: https://github.com/aws/aws-lc-rs/issues/912
AWS_LC_SYS_NO_JITTER_ENTROPY = "1"