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
7 changes: 4 additions & 3 deletions Cargo.lock

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

13 changes: 11 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ agent-desktop-linux = { path = "vendor/agent-desktop/crates/linux" }
# TinyBus defines the message types, interface macro, and frozen module ABI
# used by the generated integration. Socket and CLI features are unnecessary
# here.
tinybus = { path = "vendor/tinybus/crates/tinybus", version = "0.1.2", default-features = false, features = [
tinybus = { version = ">=0.1.3, <0.2", default-features = false, features = [

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve direct paths to the vendored TinyBus crates

When tinycomputer is consumed from a parent workspace, Cargo ignores this dependency manifest's [patch.crates-io]; unless that parent duplicates all three patches, these version-only dependencies are resolved from crates.io, where the comment states TinyBus is unavailable, and the build fails before compilation. The previous direct paths made the pinned gitlink self-contained, and repository guidance explicitly requires retaining exact path dependencies unless a new module capability necessitates changing them. Keep the path entries while addressing host crate unification through a mechanism that does not make every parent workspace supply hidden patches.

AGENTS.md reference: AGENTS.md:L356-L361

Useful? React with 👍 / 👎.

"macros",
"modules",
] }
# The module-side SDK owns the isolated runtime and exports the ABI entrypoints
# required by TinyBus's dynamic loader.
tinybus-module = { path = "vendor/tinybus/crates/tinybus-module", version = "0.1.2" }
tinybus-module = { version = ">=0.1.3, <0.2" }
# Derive macros for the crate-wide error types, e.g.
# `crates/tinycomputer-desktop/src/error/`.
# Every dependency entry should carry a comment like this one saying why it is
Expand Down Expand Up @@ -112,6 +112,15 @@ tokio = { version = "1", features = ["macros", "rt-multi-thread", "time"] }
# Lints apply to every member that opts in with `[lints] workspace = true`, and
# to every target of that member. CI runs clippy with `-D warnings`, so anything
# set to "warn" here fails the build in CI.
# TinyBus is not published to crates.io: it resolves to the nested submodule so
# standalone builds work, while a host workspace (OpenHuman) can override the
# same crates-io entries with its own single copy. The dependencies above are
# version ranges, never exact pins, so that one copy can satisfy every module.
[patch.crates-io]
tinybus = { path = "vendor/tinybus/crates/tinybus" }
tinybus-macros = { path = "vendor/tinybus/crates/tinybus-macros" }
tinybus-module = { path = "vendor/tinybus/crates/tinybus-module" }

[workspace.lints.rust]
unsafe_code = "forbid"
missing_docs = "warn"
Expand Down
2 changes: 1 addition & 1 deletion vendor/tinybus
Submodule tinybus updated 103 files
Loading