aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 28d18e5..a2e24ba 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -346,6 +346,10 @@ pub async fn run() -> Result<()> {
blob_chunk_bytes: args.blob_chunk as u32,
swarm_key,
protocol_writers: args.protocol_writers.iter().cloned().collect(),
+ #[cfg(feature = "federation")]
+ store_readers: args.store_readers.iter().cloned().collect(),
+ #[cfg(not(feature = "federation"))]
+ store_readers: Default::default(),
first_users,
first_policy,
node_key: Some(Arc::clone(&node_key)),