Make sql2
mandatory in the binary (#3722)
This commit is contained in:
parent
81870799ae
commit
0fc410dec2
3 changed files with 4 additions and 2 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -97,6 +97,8 @@ jobs:
|
|||
run: cargo vet
|
||||
|
||||
- name: Check dependencies for unauthorized access
|
||||
env:
|
||||
RUSTFLAGS: "--cfg surrealdb_unstable"
|
||||
run: cargo acl -n
|
||||
|
||||
- name: Dependency check failure
|
||||
|
|
|
@ -20,7 +20,7 @@ http = ["surrealdb/http"]
|
|||
http-compression = []
|
||||
ml = ["surrealdb/ml"]
|
||||
jwks = ["surrealdb/jwks"]
|
||||
sql2 = ["surrealdb/sql2"]
|
||||
sql2 = [] # Deprecated since v1.4
|
||||
parser2 = ["surrealdb/parser2"]
|
||||
performance-profiler = ["dep:pprof"]
|
||||
|
||||
|
@ -83,6 +83,7 @@ surrealdb = { version = "1", path = "lib", features = [
|
|||
"protocol-http",
|
||||
"protocol-ws",
|
||||
"rustls",
|
||||
"sql2"
|
||||
] }
|
||||
tempfile = "3.8.1"
|
||||
thiserror = "1.0.50"
|
||||
|
|
|
@ -184,7 +184,6 @@ pub async fn init(
|
|||
dbs::init(dbs).await?;
|
||||
// Start the node agent
|
||||
let (tasks, task_chans) = start_tasks(
|
||||
#[cfg(feature = "sql2")]
|
||||
&config::CF.get().unwrap().engine.unwrap_or_default(),
|
||||
DB.get().unwrap().clone(),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue