commit 3ccd6a97a4352ba13e4d8c1dbe3da91e6b737a6e
parent e20861f8d677f48eac16afeb725f15521f6be66f
Author: kernelkind <kernelkind@gmail.com>
Date: Sun, 5 Oct 2025 13:44:49 -0400
refactor: move profile.rs -> url.rs to new module
Signed-off-by: kernelkind <kernelkind@gmail.com>
Diffstat:
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/crates/notedeck/src/lib.rs b/crates/notedeck/src/lib.rs
@@ -77,7 +77,7 @@ pub use note::{
pub use notecache::{CachedNote, NoteCache};
pub use options::NotedeckOptions;
pub use persist::*;
-pub use profile::get_profile_url;
+pub use profile::*;
pub use relay_debug::RelayDebugView;
pub use relayspec::RelaySpec;
pub use result::Result;
diff --git a/crates/notedeck/src/profile/mod.rs b/crates/notedeck/src/profile/mod.rs
@@ -0,0 +1,3 @@
+mod url;
+
+pub use url::{get_profile_url, no_pfp_url, unwrap_profile_url};
diff --git a/crates/notedeck/src/profile.rs b/crates/notedeck/src/profile/url.rs