Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(openhuman-modules-linked): drop tinychannels feature

Steven Enamakelc945db4ef12a
diff --git a/crates/openhuman-modules-linked/Cargo.toml b/crates/openhuman-modules-linked/Cargo.toml
index 775ce91104..439a84cab9 100644
--- a/crates/openhuman-modules-linked/Cargo.toml
+++ b/crates/openhuman-modules-linked/Cargo.toml
@@ -16,7 +16,7 @@
# with an exported `linked_module` AND resolves against the workspace `tinybus`
# (0.1.3). These WAIT for the upstream E0.3 work and a re-pin; they have no
# feature here yet (reasons in `src/lib.rs`):
-# tinybox, tinyconnectors, tinyvoice, tinymcp, tinycomputer, tinyjuice,
+# tinychannels (v0.1.29 pins tinybus =0.1.4, tinydocs-module pins =0.1.3), tinybox, tinyconnectors, tinyvoice, tinymcp, tinycomputer, tinyjuice,
# tinysearch, tinywallet, tinyhosts.
[package]
@@ -30,8 +30,7 @@ publish = false
[features]
default = []
-all = ["tinychannels", "tinydocs"]
-tinychannels = ["dep:tinychannels-module"]
+all = ["tinydocs"]
tinydocs = ["dep:tinydocs-module"]
[dependencies]
@@ -40,7 +39,6 @@ openhuman-rpc = { path = "../openhuman-rpc", default-features = false, features
log = "0.4"
tinydocs-module = { path = "../../vendor/tinydocs/crates/tinydocs-module", features = ["static-link"], optional = true }
-tinychannels-module = { path = "../../vendor/tinychannels/crates/tinychannels-module", features = ["static-link"], optional = true }
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage)'] }
diff --git a/crates/openhuman-modules-linked/src/lib.rs b/crates/openhuman-modules-linked/src/lib.rs
index f59474b7fc..50c3c3bcc4 100644
--- a/crates/openhuman-modules-linked/src/lib.rs
+++ b/crates/openhuman-modules-linked/src/lib.rs
@@ -19,7 +19,7 @@
//!
//! | feature | status at the current vendor pins |
//! | ---------------- | --------------------------------- |
-//! | `tinychannels` | linked |
+//! | `tinychannels` | waits: v0.1.29 module crate pins `tinybus =0.1.4`, which cannot co-resolve with tinydocs-module (`=0.1.3`) and the workspace `tinybus` 0.1.3 |
//! | `tinydocs` | linked (needs tinydocs v0.2.2, whose module crate pins the workspace `tinybus` 0.1.3) |
//! | `tinybox` | waits: its module crate pins `tinybus =0.1.2`, which cannot unify with the workspace `tinybus` path |
//! | `tinyconnectors` | waits: its workspace pins a `tinybus` the host does not carry (0.1.2 at the pin, 0.1.4 upstream) |
@@ -49,8 +49,6 @@ use openhuman_rpc::embed::modules::{register_linked, LinkedFactory};
#[must_use]
pub fn linked_modules() -> Vec<(&'static str, LinkedFactory)> {
let modules: Vec<(&'static str, LinkedFactory)> = vec![
- #[cfg(feature = "tinychannels")]
- ("tinychannels", tinychannels_module::linked_module),
#[cfg(feature = "tinydocs")]
("tinydocs", tinydocs_module::linked_module),
];
diff --git a/crates/openhuman-modules-linked/src/lib_tests.rs b/crates/openhuman-modules-linked/src/lib_tests.rs
index d383c7deb0..0de29f62b6 100644
--- a/crates/openhuman-modules-linked/src/lib_tests.rs
+++ b/crates/openhuman-modules-linked/src/lib_tests.rs
@@ -4,7 +4,6 @@ use super::*;
fn every_enabled_feature_registers_exactly_its_own_id() {
let ids: Vec<&str> = linked_modules().iter().map(|(id, _)| *id).collect();
let expected: Vec<&str> = [
- cfg!(feature = "tinychannels").then_some("tinychannels"),
cfg!(feature = "tinydocs").then_some("tinydocs"),
]
.into_iter()
@@ -19,11 +18,11 @@ fn install_is_idempotent() {
install();
}
-#[cfg(feature = "tinychannels")]
+#[cfg(feature = "tinydocs")]
#[test]
fn install_makes_the_factory_visible_to_the_core() {
install();
assert!(openhuman_rpc::embed::modules::is_linked_registered(
- "tinychannels"
+ "tinydocs"
));
}