commit 9e38332b3a5c4e91bd66f9f2f6d7439ef89d6acd
parent f22049395dee2578a9861ea517411eb250344ddd
Author: triesap <tyson@radroots.org>
Date: Thu, 18 Jun 2026 20:10:36 -0700
sdk: make local-runtime canonical
Diffstat:
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/crates/sdk/Cargo.toml b/crates/sdk/Cargo.toml
@@ -78,7 +78,6 @@ local-runtime = [
"signing",
"relay-client",
]
-cli-runtime = ["local-runtime"]
[dependencies]
radroots_authority = { workspace = true, optional = true, default-features = false }
@@ -124,7 +123,7 @@ required-features = ["runtime", "local-signer"]
[[example]]
name = "runtime_local"
path = "examples/runtime_local.rs"
-required-features = ["cli-runtime"]
+required-features = ["local-runtime"]
[dev-dependencies]
futures = { workspace = true }
diff --git a/crates/sdk/README b/crates/sdk/README
@@ -37,8 +37,8 @@ runtime consumers. It enables `std`, `serde`, `serde_json`, `runtime`,
is retained in this bundle only for current direct relay publish callers that
have not migrated to the product runtime yet; it is classified for removal once
those callers are SDK-runtime backed. `local-runtime` does not enable
-`radrootsd-client`. `cli-runtime` is an alias for `local-runtime` so CLI
-consumers stay on the same runtime contract as local app consumers.
+`radrootsd-client`. CLI, app, and local tooling consumers should depend on this
+feature directly so they stay on the same runtime contract.
Relay URL policy is explicit. Public relay URLs must use `wss://`. Local
development `ws://` relay URLs are accepted only under `SdkRelayUrlPolicy::Localhost`