Skip to content

Commit 37a9434

Browse files
Migrate to a workspace structure
1 parent d36355d commit 37a9434

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

Cargo.toml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1+
[workspace]
2+
members = [".", "redismodule-rs-macros", "redismodule-rs-macros-internals"]
3+
4+
[workspace.package]
5+
version = "2.0.7"
6+
license = "BSD-3-Clause"
7+
edition = "2021"
8+
19
[package]
210
name = "redis-module"
3-
version = "99.99.99"
11+
version.workspace = true
12+
edition.workspace = true
13+
license.workspace = true
414
authors = ["Gavrie Philipson <gavrie@redis.com>", "Guy Korland <guy.korland@redis.com>"]
5-
edition = "2021"
615
build = "build.rs"
716
description = "A toolkit for building Redis modules in Rust"
8-
license = "BSD-3-Clause"
917
repository = "https://github.com/RedisLabsModules/redismodule-rs"
1018
readme = "README.md"
1119
keywords = ["redis", "plugin"]
@@ -162,4 +170,4 @@ bindgen-static = ["bindgen/static"]
162170
bindgen-runtime = ["bindgen/runtime"]
163171

164172
# List all features here, that are not in a exclusive or relationship
165-
all-features-but-xor = []
173+
all-features-but-xor = []

redismodule-rs-macros-internals/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "redis-module-macros-internals"
3-
version = "99.99.99"
43
authors = ["Meir Shpilraien <meir@redis.com>"]
5-
edition = "2021"
64
description = "A macros crate for redismodule-rs"
7-
license = "BSD-3-Clause"
5+
version.workspace = true
6+
edition.workspace = true
7+
license.workspace = true
88
repository = "https://github.com/RedisLabsModules/redismodule-rs"
99
keywords = ["redis", "plugin"]
1010
categories = ["database", "api-bindings"]

redismodule-rs-macros/Cargo.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "redis-module-macros"
3-
version = "99.99.99"
3+
version.workspace = true
4+
edition.workspace = true
5+
license.workspace = true
46
authors = ["Meir Shpilraien <meir@redis.com>"]
5-
edition = "2021"
67
description = "A macros crate for redismodule-rs"
7-
license = "BSD-3-Clause"
88
repository = "https://github.com/RedisLabsModules/redismodule-rs"
99
keywords = ["redis", "plugin"]
1010
categories = ["database", "api-bindings"]
@@ -19,6 +19,4 @@ serde = { version = "1", features = ["derive"] }
1919
serde_syn = "0.1.0"
2020

2121
[lib]
22-
name = "redis_module_macros"
23-
path = "src/lib.rs"
2422
proc-macro = true

0 commit comments

Comments
 (0)