Skip to content

feat: expose linked TinyBus module entry point - #19

Closed
senamakel wants to merge 4 commits into
tinyhumansai:mainfrom
senamakel:windows-linked-modules
Closed

senamakel wants to merge 4 commits into
tinyhumansai:mainfrom
senamakel:windows-linked-modules

Conversation

@senamakel

Copy link
Copy Markdown
Member

Summary

  • Add the opt-in linked feature and expose tinydocs_module::linked_module() for direct host registration.
  • Pin the TinyBus submodule to the module export fix and use the =0.1.2 registry identity for TinyBus dependencies. A local Cargo patch keeps standalone builds on the pinned checkout.

Related issue

Depends on tinyhumansai/tinybus#29. This PR is a draft because its gitlink points to commits from that unmerged PR. Mark ready after #29 merges and the gitlink is reachable from upstream TinyBus, then confirm CI is green.

API or behavior changes

The module package gains linked_module() when built with --features linked. The default loadable module behavior is unchanged.

Validation

  • cargo fmt --manifest-path Cargo.toml --all -- --check
  • cargo check --manifest-path Cargo.toml -p tinydocs-module --features linked --offline
  • Full clippy, build, test, and coverage suites were not run locally.

Tests

The linked feature compile check covers the public reexport and TinyBus macro expansion. No runtime behavior changed in this package.

Documentation

The public API is described here; TinyBus documents the linked host path in #29.

Checklist

  • The change is focused on linked module registration.
  • No lints were relaxed.
  • No secrets or environment contents are included.

@coderabbitai

coderabbitai Bot commented Sep 25, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Comment @coderabbitai help to get the list of available commands.

@senamakel

Copy link
Copy Markdown
Member Author

Superseded by #18, which now carries the static-link entry point, TinyBus registry identity, and updated gitlink.

@senamakel senamakel closed this Sep 25, 2026
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.

1 participant