Skip to content

Sync with upstream MatsDK/TauRPC#10

Merged
johncarmack1984 merged 20 commits intomainfrom
john/sync-with-upstream
Mar 12, 2026
Merged

Sync with upstream MatsDK/TauRPC#10
johncarmack1984 merged 20 commits intomainfrom
john/sync-with-upstream

Conversation

@johncarmack1984
Copy link
Copy Markdown
Collaborator

Summary

  • Merges all upstream changes from MatsDK/TauRPC since v0.5.2 (17 commits), bringing the crate version to 0.7.1
  • Resolves conflicts in Cargo.toml files, lib.rs, and export.rs, keeping our fork-specific improvements
  • All Rust crates and the TypeScript package build and lint cleanly

Upstream changes incorporated

  • EXPORT_PATH is now Option<&str>None means skip export instead of falling back to ../bindings.ts
  • export_types() accepts impl AsRef<Path> instead of Option<&str>
  • Removed default_export_path()/get_export_path() dead code
  • Doc example fixes (rust,ignore, typo resolveresresolvers)
  • Android debugging fixes
  • Cross-platform path handling in node_modules detection
  • Relaxed dependency version constraints
  • Clippy cleanups

Fork improvements preserved

  • @fltsci/taurpc import in generated bindings
  • Named TS exports (export { createTauRPCProxy })
  • Rust edition 2024
  • Graceful error handling (match + log instead of .unwrap() on type export)
  • preserve_order feature on serde_json
  • fltsci URLs and author attribution

Test plan

  • cargo check passes for taurpc workspace
  • cargo check passes for example app
  • pnpm build succeeds
  • pnpm lint passes (format, types, eslint)

AndreRoelofs and others added 20 commits January 19, 2026 10:44
…tibility

Fix compatibility issue and other minor improvements
Fix the issue ( MatsDK#60 ) where, due to the inability to close the exported code, errors occur when debugging Android applications because of lack of permissions.
…issues

fix: Android export during dev error
Brings in upstream changes since v0.5.2:
- Version bump to 0.7.1
- EXPORT_PATH as Option (None = don't export)
- Removed default_export_path fallback
- export_types takes impl AsRef<Path>
- Doc fixes and typo corrections
- Android debugging fixes
- Cross-platform path handling
- Relaxed dependency constraints
- Clippy cleanups

Preserves fork improvements:
- @fltsci/taurpc import in generated bindings
- Named TS exports
- Edition 2024
- Graceful error handling (no unwrap on export)
- preserve_order on serde_json
The lockfile sync step ran git commit unconditionally, which fails
with exit code 1 when there's nothing to commit. Use git diff
--cached --quiet to skip the commit+push when the lockfile is
already in sync.
@johncarmack1984 johncarmack1984 merged commit cb9b76b into main Mar 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants