valkey-module 0.1.11

A toolkit for building valkey modules in Rust
Documentation

Build #3667308 2026-06-23 17:20:50

# rustc version rustc 1.98.0-nightly (4429659e4 2026-06-22)

# docs.rs version docsrs 0.0.0 (886bc7a22b1adc4b387ce1343447fe3af98d9ce5 2026-06-14 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "965ca1209f66e802858de9214362e7dadb96a57399a4890cf60d0e7af261afd0" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260622-1.98.0-nightly-4429659e4\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: acl, auth, block, call, client, configuration, crontab, ctx_flags, data_type, data_type2, data_type3, events, expire, filter1, filter2, hello, info, info_handler_builder, info_handler_macro, info_handler_multiple_sections, info_handler_struct, keys_pos, lists, load_unload, open_key_with_flags, preload, proc_macro_commands, response, scan_keys, server_events, stream, string, subcmd, test_helper, threads, timer [INFO] [stderr] If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true` [INFO] [stderr] to the [[example]] target configuration of at least one example. [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting valkey-module v0.1.11 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `RedisError` [INFO] [stderr] --> src/redismodule.rs:22:15 [INFO] [stderr] | [INFO] [stderr] 22 | /// type and [RedisError]. [INFO] [stderr] | ^^^^^^^^^^ no item named `RedisError` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `RedisResult` [INFO] [stderr] --> src/redismodule.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | /// A [RedisResult] with [ValkeyValue]. [INFO] [stderr] | ^^^^^^^^^^^ no item named `RedisResult` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `RedisModuleString` [INFO] [stderr] --> src/redismodule.rs:139:22 [INFO] [stderr] | [INFO] [stderr] 139 | /// In general, [RedisModuleString] is none atomic ref counted object. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no item named `RedisModuleString` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `to_utf8_string` links to private item `ErrorCallReply` [INFO] [stderr] --> src/context/call_reply.rs:120:18 [INFO] [stderr] | [INFO] [stderr] 120 | /// Convert [ErrorCallReply] to [String] or [None] if its not a valid utf8. [INFO] [stderr] | ^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `call_blocking` [INFO] [stderr] --> src/context/call_reply.rs:781:49 [INFO] [stderr] | [INFO] [stderr] 781 | /// the module invoke a blocking command using [call_blocking]. [INFO] [stderr] | ^^^^^^^^^^^^^ no item named `call_blocking` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `set_unblock_handler` links to private item `FutureHandler` [INFO] [stderr] --> src/context/call_reply.rs:804:26 [INFO] [stderr] | [INFO] [stderr] 804 | /// unblock. Return [FutureHandler] that can be used to abort the command. [INFO] [stderr] | ^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `RedisGILGuard` [INFO] [stderr] --> src/context/thread_safe.rs:32:6 [INFO] [stderr] | [INFO] [stderr] 32 | /// [RedisGILGuard] for more information) [INFO] [stderr] | ^^^^^^^^^^^^^ no item named `RedisGILGuard` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `RedisGILGuard` [INFO] [stderr] --> src/context/thread_safe.rs:35:28 [INFO] [stderr] | [INFO] [stderr] 35 | /// GIL is locked, unlike [RedisGILGuard] which protect data [INFO] [stderr] | ^^^^^^^^^^^^^ no item named `RedisGILGuard` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `ConfigurationContext` [INFO] [stderr] --> src/context/thread_safe.rs:44:33 [INFO] [stderr] | [INFO] [stderr] 44 | /// struct (such as [Context], [ConfigurationContext], [ContextGuard]). [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no item named `ConfigurationContext` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `authenticate_user` links to private item `ContextUserScope` [INFO] [stderr] --> src/context/mod.rs:790:17 [INFO] [stderr] | [INFO] [stderr] 790 | /// Return [ContextUserScope] which make sure to unset the user when freed and [INFO] [stderr] | ^^^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `add_post_notification_job` [INFO] [stderr] --> src/context/mod.rs:838:109 [INFO] [stderr] | [INFO] [stderr] 838 | ...alkey provides this API ([add_post_notification_job]) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `add_post_notification_job` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `crate::redis_module` [INFO] [stderr] --> src/logging.rs:127:24 [INFO] [stderr] | [INFO] [stderr] 127 | /// is set by the [crate::redis_module] macro. If another context [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no item named `redis_module` in module `valkey_module` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `crate::redis_module` [INFO] [stderr] --> src/logging.rs:139:10 [INFO] [stderr] | [INFO] [stderr] 139 | /// [crate::redis_module] as the `init` argument, which will be used [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no item named `redis_module` in module `valkey_module` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `redis_module` [INFO] [stderr] --> src/lib.rs:62:15 [INFO] [stderr] | [INFO] [stderr] 62 | /// provided [redis_module] macro. [INFO] [stderr] | ^^^^^^^^^^^^ no item named `redis_module` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: `log` is both a function and a crate [INFO] [stderr] --> src/logging.rs:92:10 [INFO] [stderr] | [INFO] [stderr] 92 | /// The [log] crate implementation of logging. [INFO] [stderr] | ^^^ ambiguous link [INFO] [stderr] | [INFO] [stderr] help: to link to the function, add parentheses [INFO] [stderr] | [INFO] [stderr] 92 | /// The [log()] crate implementation of logging. [INFO] [stderr] | ++ [INFO] [stderr] help: to link to the crate, prefix with `mod@` [INFO] [stderr] | [INFO] [stderr] 92 | /// The [mod@log] crate implementation of logging. [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `valkey-module` (lib doc) generated 15 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.60s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/valkey_module/index.html [INFO] running `Command { std: "docker" "inspect" "965ca1209f66e802858de9214362e7dadb96a57399a4890cf60d0e7af261afd0", kill_on_drop: false }`