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

Commit 49e12af

Browse files
author
Simone Mosciatti
committed
make possible to compile without pro modules
1 parent e1d194a commit 49e12af

File tree

3 files changed

+7
-17
lines changed

3 files changed

+7
-17
lines changed

Cargo.lock

Lines changed: 2 additions & 12 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
@@ -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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ fn main() {
5050
}
5151
}
5252

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

5656
let bindings = bindgen::Builder::default()
5757
.parse_callbacks(Box::new(SqliteTypeChooser))

0 commit comments

Comments
 (0)