Skip to content

Commit b8f2e58

Browse files
authored
Merge pull request #45 from dmitrypol/main
renamed redis-module-macros and redis-module-macros-internals to valk…
2 parents a8f10bd + 11219ed commit b8f2e58

22 files changed

+54
-54
lines changed

Cargo.lock

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "valkey-module"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
authors = ["Dmitry Polyakovsky <[email protected]>"]
55
edition = "2021"
66
build = "build.rs"
@@ -132,14 +132,14 @@ linkme = "0.3"
132132
serde = { version = "1", features = ["derive"] }
133133
nix = "0.26"
134134
cfg-if = "1"
135-
redis-module-macros-internals = { path = "./redismodule-rs-macros-internals", version = "2.0.7"}
135+
valkey-module-macros-internals = { path = "valkeymodule-rs-macros-internals", version = "0.1.1"}
136136
log = "0.4"
137137

138138
[dev-dependencies]
139139
anyhow = "1"
140140
redis = "0.25"
141141
lazy_static = "1"
142-
redis-module-macros = { path = "./redismodule-rs-macros"}
142+
valkey-module-macros = { path = "valkeymodule-rs-macros", version = "0.1.1" }
143143
valkey-module = { path = "./", default-features = false, features = ["min-redis-compatibility-version-7-2"] }
144144

145145
[build-dependencies]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# valkeymodule-rs
88

9-
This crate provides an idiomatic Rust API for the [Valkey Modules API](https://redis.io/topics/modules-intro).
9+
This crate provides an idiomatic Rust API for the [Valkey Modules API](https://valkey.io/docs/topics/modules-api-ref/).
1010
It allows writing Valkey modules in Rust, without needing to use raw pointers or unsafe code. See [here](https://docs.rs/valkey-module/latest) for the most recent API documentation.
1111

1212
This repo was forked from [redismodule-rs](https://github.com/RedisLabsModules/redismodule-rs). We appreciate the contributions of the original authors.
@@ -26,4 +26,4 @@ This repo was forked from [redismodule-rs](https://github.com/RedisLabsModules/r
2626
See the [examples](examples) directory for some sample modules.
2727

2828
This crate tries to provide high-level wrappers around the standard Valkey Modules API, while preserving the API's basic concepts.
29-
Therefore, following the [Valkeyi Modules API](https://redis.io/topics/modules-intro) documentation will be mostly relevant here as well.
29+
Therefore, following the [Valkeyi Modules API](https://valkey.io/docs/topics/modules-api-ref/) documentation will be mostly relevant here as well.

examples/info_handler_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use redis_module_macros::info_command_handler;
1+
use valkey_module_macros::info_command_handler;
22
use valkey_module::InfoContext;
33
use valkey_module::{valkey_module, ValkeyResult};
44

examples/info_handler_macro.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use redis_module_macros::info_command_handler;
1+
use valkey_module_macros::info_command_handler;
22
use valkey_module::{valkey_module, ValkeyResult};
33
use valkey_module::{InfoContext, Status};
44

examples/info_handler_multiple_sections.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use redis_module_macros::{info_command_handler, InfoSection};
1+
use valkey_module_macros::{info_command_handler, InfoSection};
22
use valkey_module::InfoContext;
33
use valkey_module::{valkey_module, ValkeyResult};
44

examples/info_handler_struct.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::collections::HashMap;
22

3-
use redis_module_macros::{info_command_handler, InfoSection};
3+
use valkey_module_macros::{info_command_handler, InfoSection};
44
use valkey_module::InfoContext;
55
use valkey_module::{valkey_module, ValkeyResult};
66

examples/open_key_with_flags.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use redis_module_macros::command;
1+
use valkey_module_macros::command;
22
use valkey_module::{
33
key::KeyFlags, valkey_module, Context, NextArg, ValkeyError, ValkeyResult, ValkeyString,
44
ValkeyValue,

examples/proc_macro_commands.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
22

3-
use redis_module_macros::{command, ValkeyValue};
3+
use valkey_module_macros::{command, ValkeyValue};
44
use valkey_module::ValkeyError;
55
use valkey_module::{valkey_module, Context, ValkeyResult, ValkeyString, ValkeyValue};
66

examples/server_events.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::sync::atomic::{AtomicI64, Ordering};
22

3-
use redis_module_macros::{config_changed_event_handler, cron_event_handler, flush_event_handler};
3+
use valkey_module_macros::{config_changed_event_handler, cron_event_handler, flush_event_handler};
44
use valkey_module::{
55
server_events::FlushSubevent, valkey_module, Context, ValkeyResult, ValkeyString, ValkeyValue,
66
};

0 commit comments

Comments
 (0)