Skip to content
This repository was archived by the owner on Jul 11, 2021. It is now read-only.

Commit 3cbd1e3

Browse files
author
Simone Mosciatti
committed
make it buildable without the PRO packages
1 parent b6851ec commit 3cbd1e3

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ uuid = { version = "0.4", features = ["v4"] }
1313
log = {version = "0.3.8", features = ["release_max_level_warn"]}
1414
env_logger = "0.4.3"
1515
redisql_lib = {path = "./redisql_lib"}
16-
engine_pro = {path = "./engine_pro", optional = true}
16+
# engine_pro = {path = "./engine_pro", optional = true}
1717

1818
[features]
1919
default = []
20-
pro = ["engine_pro"]
21-
trial = ["engine_pro/trial"]
20+
# pro = ["engine_pro"]
21+
# trial = ["engine_pro/trial"]

redisql_lib/build.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ fn main() {
1515
cc::Build::new()
1616
.file("src/CDeps/Redis/redismodule.c")
1717
.include("src/CDeps/Redis/include")
18-
//.debug(true)
1918
.compile("libredismodule.a");
2019

2120
cc::Build::new()
@@ -51,8 +50,8 @@ fn main() {
5150
}
5251
}
5352

54-
let engine_pro = "-DENGINE_PRO=1";
55-
// let engine_pro = "-DENGINE_PRO=0";
53+
// let engine_pro = "-DENGINE_PRO=1";
54+
let engine_pro = "-DENGINE_PRO=0";
5655

5756
let bindings = bindgen::Builder::default()
5857
.parse_callbacks(Box::new(SqliteTypeChooser))

0 commit comments

Comments
 (0)