commit 0c1bc379beeb0bd9c90bf5097afffc2e74676365
parent 87a491b8d1a853ddb8602ea3f84bcad6c5df672a
Author: triesap <tyson@radroots.org>
Date: Sun, 12 Jul 2026 00:50:48 +0000
crate-surface: adopt final event crate name
- move daemon dependencies from radroots_events to radroots_event
- update transport publish runtime imports for the final event crate
- refresh the daemon lockfile after the package rename
- validate with cargo check, cargo test, and removed-name scans
Diffstat:
4 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
@@ -1784,7 +1784,7 @@ dependencies = [
]
[[package]]
-name = "radroots_events"
+name = "radroots_event"
version = "0.1.0-alpha.2"
dependencies = [
"hex",
@@ -1795,12 +1795,12 @@ dependencies = [
]
[[package]]
-name = "radroots_events_codec"
+name = "radroots_event_codec"
version = "0.1.0-alpha.2"
dependencies = [
"nostr",
"radroots_core",
- "radroots_events",
+ "radroots_event",
]
[[package]]
@@ -1808,7 +1808,7 @@ name = "radroots_identity"
version = "0.1.0-alpha.2"
dependencies = [
"nostr",
- "radroots_events",
+ "radroots_event",
"radroots_protected_store",
"radroots_runtime",
"radroots_runtime_paths",
@@ -1836,8 +1836,8 @@ version = "0.1.0-alpha.2"
dependencies = [
"nostr",
"nostr-sdk",
- "radroots_events",
- "radroots_events_codec",
+ "radroots_event",
+ "radroots_event_codec",
"radroots_identity",
"reqwest",
"serde",
@@ -1906,7 +1906,7 @@ version = "0.1.0-alpha.2"
dependencies = [
"futures",
"nostr",
- "radroots_events",
+ "radroots_event",
"radroots_nostr",
"radroots_transport",
"serde",
@@ -1931,7 +1931,7 @@ dependencies = [
"clap",
"jsonrpsee",
"nostr",
- "radroots_events",
+ "radroots_event",
"radroots_identity",
"radroots_nostr",
"radroots_runtime",
diff --git a/Cargo.toml b/Cargo.toml
@@ -11,7 +11,7 @@ description = "Radroots local runtime daemon for storage, sync, and relay publis
resolver = "2"
[workspace.dependencies]
-radroots_events = { path = "../lib/crates/events" }
+radroots_event = { path = "../lib/crates/event" }
radroots_identity = { path = "../lib/crates/identity" }
radroots_nostr = { path = "../lib/crates/nostr" }
radroots_transport_publish_protocol = { path = "../lib/crates/transport_publish_protocol" }
@@ -23,7 +23,7 @@ radroots_runtime = { path = "../lib/crates/runtime" }
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] }
[dependencies]
-radroots_events = { workspace = true, features = ["serde"] }
+radroots_event = { workspace = true, features = ["serde"] }
radroots_identity = { workspace = true }
radroots_nostr = { workspace = true, features = ["client", "codec", "events", "http"] }
radroots_transport_publish_protocol = { workspace = true, features = ["std", "serde"] }
diff --git a/src/app/runtime.rs b/src/app/runtime.rs
@@ -19,7 +19,7 @@ use crate::transport::nostr::listener::spawn_nip46_listener;
use anyhow::Context;
#[cfg(not(test))]
use clap::Parser;
-use radroots_events::profile::RadrootsProfileType;
+use radroots_event::profile::RadrootsProfileType;
use radroots_nostr::prelude::{
RadrootsNostrApplicationHandlerSpec, RadrootsNostrKind,
radroots_nostr_bootstrap_service_presence,
diff --git a/src/core/transport_publish.rs b/src/core/transport_publish.rs
@@ -8,8 +8,8 @@ use std::str::FromStr;
use std::sync::{Arc, Mutex};
use std::time::{Duration, Instant, SystemTime, UNIX_EPOCH};
-use radroots_events::RadrootsEventEnvelope;
-use radroots_events::draft::{RadrootsDraftError, RadrootsSignedEvent, RadrootsSignedEventParts};
+use radroots_event::RadrootsEventEnvelope;
+use radroots_event::draft::{RadrootsDraftError, RadrootsSignedEvent, RadrootsSignedEventParts};
use radroots_nostr::prelude::{
RadrootsNostrClient, RadrootsNostrEventVerification, RadrootsNostrFilter, RadrootsNostrKind,
RadrootsNostrPublicKey, radroots_nostr_verify_event,