Skip to content

Commit 2db87e1

Browse files
Copilotmanast
authored andcommitted
rust: make script registry internal API
Co-authored-by: manast <95200+manast@users.noreply.github.com>
1 parent 4b5096d commit 2db87e1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

rust/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub mod queue_events;
5252
/// Redis connection handling.
5353
pub mod redis_connection;
5454
/// Lua script registry and execution.
55-
pub mod scripts;
55+
mod scripts;
5656
/// Shared types: job state, progress, backoff strategies.
5757
pub mod types;
5858
/// Worker implementation for processing jobs...

rust/src/redis_connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ impl RedisConnection {
8282
}
8383

8484
/// Get the script registry.
85-
pub fn scripts(&self) -> &ScriptRegistry {
85+
pub(crate) fn scripts(&self) -> &ScriptRegistry {
8686
&self.inner.scripts
8787
}
8888

0 commit comments

Comments
 (0)